Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).
%I #12 Apr 03 2023 17:58:45
%S 0,1,25,36,100,121,625,2500,3025,3600,4096,4356,5776,9801,10000,10201,
%T 12100,12321,12544,13225,13456,15625,50625,62500,75625,82944,104329,
%U 141376,164025,249001,250000,251001,252004,275625,302500
%N Squares such that digits of sqrt(n) appear in both n and n^(3/2).
%F a(n) = A029780(n)^2. - _Sean A. Irvine_, Mar 04 2020
%o (Python)
%o from itertools import count, islice
%o from math import prod
%o def A029781_gen(): # generator of terms
%o return map(lambda x:x[1], filter(lambda x:set(str(x[0])) <= set(str(x[1])) & set(str(prod(x))),((n,n**2) for n in count(0))))
%o A029781_list = list(islice(A029781_gen(),20)) # _Chai Wah Wu_, Apr 03 2023
%K nonn,base
%O 1,3
%A _Patrick De Geest_