The OEIS mourns the passing of Jim Simons and is grateful to the Simons Foundation for its support of research in many branches of science, including the OEIS.
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!)
A030671 Smallest extension of n-th prime which is a square. 2
25, 36, 529, 729, 1156, 1369, 1764, 196, 2304, 2916, 3136, 3721, 41209, 4356, 4761, 5329, 5929, 61009, 676, 71289, 7396, 7921, 83521, 89401, 97344, 101124, 103041, 107584, 109561, 113569, 12769, 131044, 137641, 13924, 149769, 15129 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
LINKS
FORMULA
a(n) = A030666(A000040(n)). - Robert Israel, Sep 05 2016
EXAMPLE
For n=2, the second prime is 3, and 36 is the smallest square that begins with 3, so a(2) = 36. - Michael B. Porter, Sep 06 2016
MAPLE
A030666:= proc(x) local d;
for d from 1 do
if ceil(sqrt(10^d*x)) <= floor(sqrt(10^d*(x+1)-1)) then
return ceil(sqrt(10^d*x))^2
fi
od
end proc:
seq(A030666(ithprime(i)), i=1..100); # Robert Israel, Sep 05 2016
CROSSREFS
Sequence in context: A205644 A077437 A077676 * A030681 A167363 A035383
KEYWORD
nonn,base
AUTHOR
EXTENSIONS
Name edited by Robert Israel, Sep 06 2016
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 May 13 09:49 EDT 2024. Contains 372504 sequences. (Running on oeis4.)