%I #9 Apr 12 2024 09:51:26
%S 0,2,20,22,28,88,200,202,220,278,280,448,472,478,878,880,2000,2002,
%T 2020,2022,2200,2202,2780,2800,2878,4480,4720,4780,8780,8800,20000,
%U 20002,20020,20022,20200,20220,22000,22002,22020,27800,28000,28780,44800,47200,47202,47800,84878,87800,88000,88022,200000,200002,200020,200022,200200,200202
%N Numbers k such that k and k^2 use only the digits 0, 2, 4, 7 and 8.
%C Generated with DrScheme.
%H Jonathan Wellons, <a href="/A136906/b136906.txt">Table of n, a(n) for n = 1..1210</a>
%H J. Wellons, <a href="https://web.archive.org/web/20090206165028/http://jonathanwellons.com/shared-digits/">Tables of Shared Digits</a> [archived]
%e 4782702420472^2 = 22874242442788727484702784.
%t With[{c={0,2,4,7,8}},Select[FromDigits/@Tuples[c,6],SubsetQ[c,IntegerDigits[ #^2]]&]] (* _Harvey P. Dale_, Jan 22 2023 *)
%K base,nonn
%O 1,2
%A Jonathan Wellons (wellons(AT)gmail.com), Jan 22 2008