OFFSET
1,3
COMMENTS
Considering some base b, there are b numbers with 1 digit, (b-1)*(b-1) numbers with 2 digits -- since leading 0's are not allowed and the second digit must avoid the first. There are (b-1)*(b-1)*(b-2) numbers with 3 digits, (b-1)*(b-1)*(b-2)*..*(b-d+1) numbers with d digits, in total b+(b-1)*sum_{d=2..b} (b-1)!/(b-d)! = b+(b-1)^2* 2F0(1,2-b;;-1) = A001339(b-1). The formula is applicable to sequences A023798 - A023810. This sequence here as A001339(11-1) = 98641011 terms. [From R. J. Mathar, Jan 27 2010]
Last term is a(98641011) = 282458553905. - Charles R Greathouse IV, Jun 16 2012
EXAMPLE
CROSSREFS
KEYWORD
nonn,base,fini,easy
AUTHOR
STATUS
approved