OFFSET
1,1
COMMENTS
There are 38880 terms, including 41 squares (A182098) and 3640 primes (A182092). - Zak Seidov, Apr 12 2012
This is the subsequence of A218556 consisting of terms with indices n = 254, ..., 39133. The number of terms is 38880 = A218566(10,3), the starting index is 254 = 1 + A218566(10,1) + A218566(10,2) + 1. - M. F. Hasler, Nov 02 2012
LINKS
Charles R Greathouse IV, Table of n, a(n) for n = 1..38880 (complete sequence)
MATHEMATICA
t = Select[Range[100000, 999999], Sort[Transpose[Tally[IntegerDigits[#]]][[2]]] == {1, 2, 3} &]; Take[t, 32] (* T. D. Noe, Apr 11 2012 *)
PROG
(PARI) is(n)=n=vecsort(eval(Vec(Str(n)))); vecsort(apply(k->sum(i=1, #n, n[i]==k), vecsort(n, , 8)))==[1, 2, 3] \\ Charles R Greathouse IV, Apr 11 2012
CROSSREFS
KEYWORD
nonn,base,fini,full,easy
AUTHOR
Jonathan Vos Post, Apr 09 2012
STATUS
approved