OFFSET
1,2
EXAMPLE
a(2)=12: 12^2=144 (2 fours)
a(3)=38: 38^2=1444 (3 fours)
a(4)=1291: 1291^2=1666681 (4 sixes)
a(7)=364585: 364585^2=132922222225 (7 twos)
a(8)=1197219: 1197219^2=1433333333961 (8 threes)
a(9)=50820359: 50820359^2=2582708888888881 (9 eights)
a(10)=169640142: 169640142^2=28777777777780164 (10 sevens)
a(12)=4472135955: 4472135955^2=20000000000003762025 (12 zeros)
MATHEMATICA
a[n_] := Block[{k=1}, While[Mod[k, 10] == 0 || !MemberQ[Length /@ Split[ IntegerDigits[ k^2]], n], k++]; k]; Array[a, 7] (* Giovanni Resta, Apr 11 2017 *)
CROSSREFS
KEYWORD
base,nonn,more
AUTHOR
Zak Seidov, Nov 10 2009
EXTENSIONS
a(14) from Giovanni Resta, Apr 11 2017
STATUS
approved