OFFSET
1,1
LINKS
Robert Israel, Table of n, a(n) for n = 1..10000
FORMULA
a(n) = A295008(n)^2.
MAPLE
Res:= NULL: count:= 0:
for n from 1 while count < 50 do
if max(convert(n^2, base, 10))=8 then
count:= count+1; Res:= Res, n^2;
fi
od:
Res; # Robert Israel, Jul 21 2019
MATHEMATICA
Select[Range[300]^2, Max[IntegerDigits[#]]==8&] (* Harvey P. Dale, Jul 08 2020 *)
PROG
(PARI) is_A295018(n)=issquare(n)&&n&&vecmax(digits(n))==8 \\ "&&n" avoids an error message for n=0.
CROSSREFS
KEYWORD
nonn,base
AUTHOR
M. F. Hasler, Nov 12 2017
STATUS
approved