login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A030676 Smallest nontrivial extension of n-th palindrome which is a square. 2
16, 25, 36, 49, 529, 64, 729, 81, 900, 1156, 225, 3364, 441, 55225, 66049, 7744, 8836, 99225, 101124, 111556, 12100, 131044, 14161, 15129, 16129, 17161, 181476, 191844, 2025, 212521, 22201, 232324, 242064, 25281, 26244, 27225 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
LINKS
MAPLE
revdigs:= proc(n)
local L, nL, i;
L:= convert(n, base, 10);
add(L[-i]*10^(i-1), i=1..nops(L));
end:
g:= proc(d) local m, x, y;
if d::even then
m:= d/2;
seq(x*10^m+revdigs(x), x=10^(m-1)..10^m-1)
else
m:= (d-1)/2;
seq(seq(x*10^(m+1)+y*10^m+revdigs(x), y=0..9), x=10^(m-1)..10^m-1)
fi
end proc:
g(1):= $1..9:
f:= proc(x) local d, y;
for d from 1 do
y:= ceil(sqrt(x*10^d))^2;
if y < (x+1)*10^d then return y fi
od;
end proc:
map(f, [g(1), g(2), g(3)]); # Robert Israel, Aug 12 2018
CROSSREFS
Cf. A030677.
Sequence in context: A291334 A175689 A030666 * A264604 A348235 A218439
KEYWORD
nonn,base,look
AUTHOR
STATUS
approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified April 24 13:08 EDT 2024. Contains 371945 sequences. (Running on oeis4.)