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!)
A368960 a(n) is the least prime of the form k*n + (greatest square < k*n). 1
3, 3, 13, 5, 19, 61, 11, 113, 13, 19, 467, 61, 101, 23, 109, 113, 59, 61, 359, 109, 37, 467, 173, 601, 41, 101, 103, 53, 107, 109, 599, 113, 757, 59, 1009, 61, 73, 359, 601, 761, 163, 739, 79, 757, 349, 173, 83, 1297, 179, 181, 2797, 101, 521, 103, 1181, 1297, 541, 107, 461, 109, 727, 599, 739 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
LINKS
EXAMPLE
a(3) = 13 because 13 = 3 * 3 + 4 is prime, where 4 is the greatest prime < 3 * 3, while 1 * 3 + 1 = 4 and 2 * 3 + 4 = 10 are not prime.
MAPLE
g:= n -> n + floor(sqrt(n-1))^2:
f:= proc(n) local k, v;
for k from n by n do
v:= g(k);
if isprime(v) then return v fi;
od;
end proc:
map(f, [$1..100]);
CROSSREFS
Sequence in context: A076509 A206704 A020550 * A306529 A200921 A135949
KEYWORD
nonn,look
AUTHOR
Robert Israel, Jan 10 2024
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 16 12:26 EDT 2024. Contains 372552 sequences. (Running on oeis4.)