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!)
A136996 Numbers k such that k and k^2 use only the digits 1, 2, 4 and 7. 0
1, 2, 11, 12, 21, 421, 1214171, 2777177421 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,2
COMMENTS
Generated with DrScheme.
LINKS
EXAMPLE
2777177421^2 = 7712714427712211241.
MATHEMATICA
Module[{c = {1, 2, 4, 7}}, Select[Flatten[Table[FromDigits /@ Tuples[c, n], {n, 10}]], SubsetQ[c, IntegerDigits[#^2]] &]] (* Requires Mathematica version 10 or later *) (* Harvey P. Dale, Jan 02 2017 *)
CROSSREFS
Sequence in context: A136967 A213975 A137001 * A238109 A113720 A034118
KEYWORD
base,nonn
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 March 29 01:36 EDT 2024. Contains 371264 sequences. (Running on oeis4.)