The OEIS Foundation is supported by donations from users of the OEIS and by a grant from the Simons Foundation.

 Hints (Greetings from The On-Line Encyclopedia of Integer Sequences!)
 A137060 Numbers n such that n and the square of n use only the digits 1, 5, 6, 7 and 8. 1

%I

%S 1,76,81,766,816,881,7181,7666,71881,76666,81681,81766,88181,88776,

%T 766666,767181,817666,817776,876766,7666666,7866881,8115766,8176666,

%U 76666666,81766666,81767181,87617166,87857166,88157181,88761881,766587576,766658716,766658776,766666666,767187576,785187166,811657666,811711881,816156766

%N Numbers n such that n and the square of n use only the digits 1, 5, 6, 7 and 8.

%C Generated with DrScheme

%H Jonathan Wellons, <a href="/A137060/b137060.txt">Table of n, a(n) for n=1..187</a>

%H J. Wellons, <a href="http://jonathanwellons.com/shared-digits/">Tables of Shared Digits</a>

%e 876861765716681^2 = 768886556175775558717561655761

%t With[{c={1,5,6,7,8}},Select[Flatten[Table[FromDigits/@Tuples[c,n],{n,9}]], SubsetQ[c,IntegerDigits[#^2]]&]] (* _Harvey P. Dale_, Nov 15 2018 *)

%K base,nonn

%O 1,2

%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 | Recent
The OEIS Community | Maintained by The OEIS Foundation Inc.

Last modified October 29 12:47 EDT 2020. Contains 338066 sequences. (Running on oeis4.)