|
|
A137076
|
|
Numbers k such that k and k^2 use only the digits 2, 3, 4 and 8.
|
|
0
|
|
|
|
OFFSET
|
1,1
|
|
COMMENTS
|
Generated with DrScheme.
No additional terms up to and including 8,888,888,888. - Harvey P. Dale, May 20 2013
|
|
LINKS
|
|
|
EXAMPLE
|
4832^2 = 23348224.
|
|
MATHEMATICA
|
odQ[n_]:=Module[{d=Union[IntegerDigits[n^2]]}, And@@Table[MemberQ[{2, 3, 4, 8}, d[[i]]], {i, Length[d]}]]; Flatten[Table[Select[ FromDigits/@ Tuples[ {2, 3, 4, 8}, n], odQ], {n, 10}]] (* Harvey P. Dale, May 20 2013 *)
|
|
CROSSREFS
|
|
|
KEYWORD
|
base,nonn,more,changed
|
|
AUTHOR
|
Jonathan Wellons (wellons(AT)gmail.com), Jan 22 2008
|
|
STATUS
|
approved
|
|
|
|