OFFSET
1,2
COMMENTS
Numbers n such that n or some digit permutation of n is a substring of the cyclic concatenation of digits 1,2,3,4,5,6,7,8,9,0,1,2...
If a(n) contains more 1's than it contains 0's and n>10, then a(10n)=10a(n) - Sam Alexander, Oct 19 2003
FORMULA
If m>1, a(10^m) is obtained by starting with a string of m-1 1's, then concatenating a string of m-1 2's, then a string of m-1 3's, ..., a string of m-1 9's, then finally a string of m 0's. So a(1000)=112233445566778899000. Also, to get a(5*10^m) from a(10^m), m>1, just take the rightmost 5 and move it in front of the 9's, so a(5000)=112233445667788995000 - Sam Alexander, Oct 19 2003
EXAMPLE
a(36) = 324, digits can be rearranged as 2,3,4. a(35) = 210, (0,1,2.)
CROSSREFS
KEYWORD
base,nonn
AUTHOR
Amarnath Murthy, Nov 26 2002
EXTENSIONS
More terms from Sam Alexander, Oct 19 2003
STATUS
approved