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!)
A137117 Numbers k such that k and k^2 use only the digits 2, 5, 7 and 9. 1
5, 27, 77, 527, 7227, 27797977 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
COMMENTS
Generated with DrScheme.
No further terms up to 10^12. - Harvey P. Dale, Oct 02 2017
No further terms up to 10^38. - Michael S. Branicky, May 27 2021
LINKS
Jonathan Wellons, Tables of Shared Digits
EXAMPLE
27797977^2 = 772727525292529.
MATHEMATICA
With[{c={2, 5, 7, 9}}, Table[Select[FromDigits/@Tuples[c, n], SubsetQ[c, IntegerDigits[ #^2]]&], {n, 8}]]//Flatten (* Harvey P. Dale, Oct 02 2017 *)
PROG
(Python) # uses auptod in A137110
print(auptod(16, only="2579")) # Michael S. Branicky, May 27 2021
CROSSREFS
Sequence in context: A048712 A121876 A137116 * A064675 A135713 A085740
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 28 20:05 EDT 2024. Contains 371254 sequences. (Running on oeis4.)