OFFSET
1,3
LINKS
Robert Israel, Table of n, a(n) for n = 1..10000
FORMULA
a(n) = A029774(n)^2. - Sean A. Irvine, Mar 04 2020
EXAMPLE
The digits of 55225 (= 235^2) are a subset of {2,3,5}.
MAPLE
filter:= proc(k) convert(convert(k^2, base, 10), set) subset convert(convert(k, base, 10), set) end proc:
map(t -> t^2, select(filter, [$0..10^5])); # Robert Israel, Aug 25 2024
CROSSREFS
KEYWORD
nonn,base
AUTHOR
EXTENSIONS
Title improved and more terms from Sean A. Irvine, Mar 04 2020
STATUS
approved