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

%I #14 Apr 12 2024 18:06:35

%S 5,27,77,527,7227,27797977

%N Numbers k such that k and k^2 use only the digits 2, 5, 7 and 9.

%C Generated with DrScheme.

%C No further terms up to 10^12. - _Harvey P. Dale_, Oct 02 2017

%C No further terms up to 10^38. - _Michael S. Branicky_, May 27 2021

%H Jonathan Wellons, <a href="https://web.archive.org/web/20090206165028/http://jonathanwellons.com/shared-digits/">Tables of Shared Digits</a> [archived].

%e 27797977^2 = 772727525292529.

%t 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 *)

%o (Python) # uses auptod in A137110

%o print(auptod(16, only="2579")) # _Michael S. Branicky_, May 27 2021

%Y Cf. A137110, A137116.

%K base,nonn,changed

%O 1,1

%A 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 | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified April 23 13:02 EDT 2024. Contains 371913 sequences. (Running on oeis4.)