%I #11 May 10 2024 10:59:28
%S 1,4,8,41,6441,68444641
%N Numbers k such that k and k^2 use only the digits 1, 4, 6 and 8.
%C Generated with DrScheme.
%H Jonathan Wellons, <a href="https://web.archive.org/web/20090206165028/http://jonathanwellons.com/shared-digits/">Tables of Shared Digits</a> [archived]
%e 68444641^2 = 4684668881618881.
%t With[{c={1,4,6,8}},Select[Flatten[Table[FromDigits/@Tuples[c,n],{n,8}]],SubsetQ[ c,IntegerDigits[ #^2]]&]] (* _Harvey P. Dale_, Jan 09 2024 *)
%K base,nonn,more
%O 1,2
%A Jonathan Wellons (wellons(AT)gmail.com), Jan 22 2008