OFFSET
1,2
COMMENTS
Autobiographical numbers (A047841) are a subset of this sequence.
The first 3 terms which contain more than 9 copies of a digit are 666666666666, 898888888898 and 4444044404444. - Giovanni Resta, Feb 10 2014
LINKS
Giovanni Resta, Table of n, a(n) for n = 1..1000 (first 101 terms from Paolo P. Lava)
MAPLE
P:=proc(q) local a, b, c, d, f, n, v; print(0); v:=array[0..9];
for n from 1 to q do a:=n; for b from 0 to 9 do v[b]:=0; od;
while a>0 do b:=a mod 10; v[b]:=v[b]+1; a:=trunc(a/10); od; a:=0;
for b from 0 to 9 do if v[b]>0 then c:=10*v[b]+b; f:=0; d:=c;
while d>0 do f:=f+1; d:=trunc(d/10); od; a:=a*10^f+c; fi; od;
if type(n/a, integer) then print(n); fi; od; end: P(10^10);
MATHEMATICA
Select[Range[10^6], Mod[#, FromDigits@ Flatten[IntegerDigits /@ Flatten[ Reverse /@ Tally@ Sort@ IntegerDigits@#]]] == 0 &] (* Giovanni Resta, Feb 10 2014 *)
CROSSREFS
KEYWORD
nonn,base,easy
AUTHOR
Paolo P. Lava, Feb 10 2014
STATUS
approved