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!)
A137108 Numbers k such that k and k^2 use only the digits 2, 4, 7 and 9. 0
2, 7, 27, 49777, 4994777, 49994777, 499979277 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
COMMENTS
Generated with DrScheme.
LINKS
J. Wellons, Tables of Shared Digits [archived]
EXAMPLE
499979277^2 = 249979277429442729.
MATHEMATICA
okQ[n_]:=Module[{id=Union[IntegerDigits[n^2]]}, And@@Table[MemberQ[ {2, 4, 7, 9}, id[[i]]], {i, Length[id]}]]; Flatten[Table[Select[ FromDigits/@ Tuples[{2, 4, 7, 9}, d], okQ], {d, 10}]] (* Harvey P. Dale, Jun 26 2012 *)
CROSSREFS
Sequence in context: A293031 A255487 A077622 * A294128 A099815 A123363
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 18 22:18 EDT 2024. Contains 371782 sequences. (Running on oeis4.)