OFFSET
1,1
LINKS
T. D. Noe, Table of n, a(n) for n = 1..10000
MAPLE
f := []; for i from 0 to 200 do if nops({op(convert(i^2, base, 10))})=4 then f := [op(f), i] fi; od; f;
MATHEMATICA
t = {}; n = -1; While[Length[t] < 50, n++; If[Length[Union[IntegerDigits[n^2]]] == 4, AppendTo[t, n]]] (* T. D. Noe, Apr 26 2013 *)
PROG
(PARI) is(n)=#Set(digits(n^2))==4 \\ Charles R Greathouse IV, Feb 11 2017
CROSSREFS
KEYWORD
nonn,base
AUTHOR
Asher Auel, Feb 29 2000
STATUS
approved