OFFSET
2,2
COMMENTS
Trailing terms of rows of A277058.
Written in base n, the terms read: 1, 11, 12, 24, 113, 1036, 1114, 4547, 11115, 105659, 111116, 67676A, ...
FORMULA
Conjecture:
for n=2m, a(n) = (n^m-1)/(n-1) + m - 1;
for n=4m+1, a(n) = (n^(2m)-1)(n^2+1) / (2(n^2-1)) + m;
for n=4m-1, a(n) = (n^(2m-2)-1)(n^2+1) / (2(n^2-1)) + m + n^(2m-1).
EXAMPLE
Any binary repunit itself contains a 1, so a(2)=1.
k-th decimal repunit for k>4 multiplied by 11115 contains all nonzero decimal digits (see A277057) with no number less than 11115 having the same property, so a(10)=11115.
CROSSREFS
KEYWORD
nonn,base,more
AUTHOR
Andrey Zabolotskiy and Altug Alkan, Sep 26 2016
STATUS
approved