login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A137106 Numbers k such that k and k^2 use only the digits 2, 4, 7 and 8. 0
2, 22, 28, 88, 278, 472, 478, 2878 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
COMMENTS
Generated with DrScheme.
No further terms up to 20 billion. - Harvey P. Dale, Dec 15 2011
LINKS
J. Wellons, Tables of Shared Digits [archived]
EXAMPLE
2878^2 = 8282884.
MATHEMATICA
oksQ[n_]:=Module[{idn2=Union[IntegerDigits[n^2]]}, And@@Table[MemberQ[{2, 4, 7, 8}, idn2[[i]]], {i, Length[idn2]}]]; Select[FromDigits/@Flatten[ Table[ Tuples[ {2, 4, 7, 8}, n], {n, 9}], 1], oksQ] (* Harvey P. Dale, Dec 15 2011 *)
CROSSREFS
Sequence in context: A074160 A368406 A137074 * A053962 A111771 A052001
KEYWORD
base,nonn,changed
AUTHOR
Jonathan Wellons (wellons(AT)gmail.com), Jan 22 2008
STATUS
approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified April 16 02:53 EDT 2024. Contains 371696 sequences. (Running on oeis4.)