OFFSET
1,3
COMMENTS
Generated with DrScheme.
LINKS
Jonathan Wellons, Table of n, a(n) for n = 1..1026
J. Wellons, Tables of Shared Digits [archived]
EXAMPLE
68418648641^2 = 4681111481860611146881.
MATHEMATICA
id2Q[n_]:=Module[{idn2=IntegerDigits[n^2], digs={0, 1, 4, 6, 8}}, And@@Table[ MemberQ[digs, idn2[[i]]], {i, Length[idn2]}]]; Select[Union[Flatten[ Table[FromDigits/@Tuples[{0, 1, 4, 6, 8}, n], {n, 5}]]], id2Q] (* Harvey P. Dale, Aug 19 2012 *)
CROSSREFS
KEYWORD
base,nonn
AUTHOR
Jonathan Wellons (wellons(AT)gmail.com), Jan 22 2008
STATUS
approved