OFFSET
1,2
COMMENTS
If k is a term, then so is 100*k. - Robert Israel, Sep 29 2023
LINKS
Robert Israel, Table of n, a(n) for n = 1..10000
EXAMPLE
20164 is a term because 20164 = 142^2 and 20164 has exactly one odd digit.
MAPLE
filter:= proc(n) nops(select(type, convert(n, base, 10), even))=1 end proc:
select(filter, [seq(i^2, i=1..10000)]); # Robert Israel, Sep 29 2023
MATHEMATICA
bb={}; Do[idp=IntegerDigits[n^2]; len=Length[idp]; If[Sum[Mod[idp[[i]], 2], {i, len}]==1, bb={bb, n}], {n, 200}]; Flatten[bb]^2
CROSSREFS
KEYWORD
nonn,base
AUTHOR
Zak Seidov, Jul 06 2003
EXTENSIONS
Name and example edited by Jon E. Schoenfield, Sep 29 2023
STATUS
approved