login
Numbers k such that k and k^2 use only the digits 0, 1, 3, 4 and 6.
1

%I #9 Apr 12 2024 09:51:26

%S 0,1,4,6,10,40,60,100,400,600,1000,1146,4000,6000,10000,10301,11460,

%T 33631,40000,60000,100000,103010,103131,114600,336310,400000,404306,

%U 600000,601344,603444,660306,663631,1000000,1003001,1030100,1031310,1146000,1160306,3336631,3363100,3363646,4000000,4014304,4043060,6000000,6013440,6034440

%N Numbers k such that k and k^2 use only the digits 0, 1, 3, 4 and 6.

%C Generated with DrScheme.

%H Jonathan Wellons, <a href="/A136838/b136838.txt">Table of n, a(n) for n = 1..662</a>

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

%e 643164144134306^2 = 413660116300014343066166101636.

%t Select[FromDigits/@Tuples[{0,1,3,4,6},7],SubsetQ[{0,1,3,4,6},IntegerDigits[ #^2]]&] (* _Harvey P. Dale_, Aug 14 2017 *)

%K base,nonn

%O 1,3

%A Jonathan Wellons (wellons(AT)gmail.com), Jan 22 2008