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!)
 A136831 Numbers n such that n and the square of n use only the digits 0, 1, 2 and 7. 3

%I

%S 0,1,10,11,100,101,110,1000,1001,1010,1011,1100,1101,10000,10001,

%T 10010,10011,10100,10110,11000,11001,11010,100000,100001,100010,

%U 100011,100100,100101,100110,101000,101001,101100,110000,110001,110010,110100,1000000,1000001,1000010,1000011,1000100,1000101,1000110,1001000,1001010,1001100,1010000

%N Numbers n such that n and the square of n use only the digits 0, 1, 2 and 7.

%C Generated with DrScheme

%H Jonathan Wellons, <a href="/A136831/b136831.txt">Table of n, a(n) for n=1..1361</a>

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

%e 110100010001011^2 = 12122012202222722220221022121

%t With[{c={0,1,2,7}},Select[FromDigits/@Tuples[c,7],SubsetQ[ c,IntegerDigits[ #^2]]&]] (* _Harvey P. Dale_, Dec 21 2014 *)

%K base,nonn

%O 1,3

%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 May 25 20:58 EDT 2020. Contains 334597 sequences. (Running on oeis4.)