# Dice-sum counting question

Aced (formerly Exponent) publishes a public search API over its indexed pages; the guide is at https://www.aced.io/agents/agent-access.

Source: https://www.aced.io/questions/1176/total-ways-achieve-sum-n-throws-dice-k-faces
Source observed: 2026-11-05T00:43:25.075Z
Last checked: 2026-11-05T00:43:25.075+00:00
Indexed: 2026-11-06T16:09:26.186+00:00

---

# Find total ways to achieve a given sum with n throws of dice having k faces.

We host this as an interview-practice question about counting the number of outcomes that produce a specified sum when rolling a `k`-faced die `n` times.

## Community answers

No answers have been contributed by the community yet.

## Your answer

Sign in or create an account to answer. Submitting an answer marks this question complete.

[All Questions](https://www.aced.io/questions)

---

[Read this page’s summary](https://www.aced.io/agents/api/public/v1/page-tldr?url=https%3A%2F%2Fwww.aced.io%2Fquestions%2F1176%2Ftotal-ways-achieve-sum-n-throws-dice-k-faces&trace=t_679ff9ab98f3)

## Ask a follow-up about this page

Need a more specific answer? Ask the exact question you have. It returns a fresh, cited answer from Aced (formerly Exponent)’s knowledge base. No account or API key required.

Open this URL with your own question, URL-encoded. Include your question in q. All research inputs are optional; no account or setup.

`GET https://www.aced.io/agents/agent/faq?q={question}&trace=t_679ff9ab98f3`

[Tool guide and examples](https://www.aced.io/agents/agent-access) · [OpenAPI](https://www.aced.io/agents/api/public/v1/openapi.json) · [Page TLDR form](https://www.aced.io/agents/agent-tools/page-tldr?url=https%3A%2F%2Fwww.aced.io%2Fquestions%2F1176%2Ftotal-ways-achieve-sum-n-throws-dice-k-faces). Opening a form does not execute a tool.