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!)
A137109 Numbers n such that n and the square of n use only the digits 2, 4, 8 and 9. 0

%I #9 May 10 2024 11:28:43

%S 2,22,222,288,49898882,499898882

%N Numbers n such that n and the square of n use only the digits 2, 4, 8 and 9.

%C Generated with DrScheme

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

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

%e 499898882^2 = 249898892224849924

%t With[{c={2,4,8,9}},Select[FromDigits/@Flatten[Table[Tuples[c,n],{n,10}],1],SubsetQ[c,IntegerDigits[#^2]]&]] (* _Harvey P. Dale_, Oct 11 2017 *)

%K base,nonn,more

%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 August 26 06:07 EDT 2024. Contains 375454 sequences. (Running on oeis4.)