login
This site is supported by donations to The OEIS Foundation.
Logo

Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A137106 Numbers n such that n and the square of n use only the digits 2, 4, 7 and 8. 0
2, 22, 28, 88, 278, 472, 478, 2878 (list; graph; refs; listen; history; internal format)
OFFSET

1,1

COMMENTS

Generated with DrScheme

No further terms up to 20 billion. [From Harvey P. Dale, Dec 15 2011]

LINKS

J. Wellons, Tables of Shared Digits

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] (* From Harvey P. Dale, Dec 15 2011 *)

CROSSREFS

Sequence in context: A152243 A074160 A137074 * A053962 A111771 A052001

Adjacent sequences:  A137103 A137104 A137105 * A137107 A137108 A137109

KEYWORD

base,nonn

AUTHOR

Jonathan Wellons (wellons(AT)gmail.com), Jan 22 2008

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Transforms | Puzzles | Hot | Classics
Recent Additions | More pages | Superseeker | Maintained by The OEIS Foundation Inc.

Content is available under The OEIS End-User License Agreement .

Last modified February 16 10:53 EST 2012. Contains 205904 sequences.