Sum of the pandigital numbers

Consider every 99-digit integer that uses each of the digits 11 through 99 exactly once. Their total sum can be written as ka!(10b1)k \cdot a! \cdot (10^{b} - 1) for integers k,a,bk, a, b with aa and bb as large as possible. Find abka\cdot b\cdot k.

Show hints (2)+
  1. Each digit occupies each of the 99 positions in 8!8! of the numbers, so each position's digit-total is 8!458!\cdot45.
  2. Weight by place values 1+10++108=(1091)/91+10+\dots+10^8=(10^9-1)/9; the 45/945/9 gives k=5k=5, a=8a=8, b=9b=9.

Answer

Reveal answer →

360

Want the full step-by-step worked solution? It's part of Premium - along with a worked solution for every question in the bank.

Asked at: Jane Street, Two Sigma

Related questions