OFFSET
1,8
COMMENTS
T(n,k) is the number of k-digit numbers in base n; n,k >= 2. - Mohammed Yaseen, Nov 11 2022
FORMULA
T(n,k) = (n-1)*n^(k-1) + 0^k/n. - Corrected by Mohammed Yaseen, Nov 11 2022
T(n,0) = 1; T(n,k) = n^k - n^(k-1) for k >= 1. - Mohammed Yaseen, Nov 11 2022
EXAMPLE
Rows begin
1, 0, 0, 0, 0, ...
1, 1, 2, 4, 8, ...
1, 2, 6, 18, 54, ...
1, 3, 12, 48, 192, ...
1, 4, 20, 100, 500, ...
CROSSREFS
KEYWORD
AUTHOR
Paul Barry, Jun 30 2003
EXTENSIONS
Offset corrected by Mohammed Yaseen, Nov 11 2022
STATUS
approved