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!)
A163580 Primes of the form floor(k+A000217(k-1)*Pi), Pi = A000796, k integer. 1
5, 53, 151, 967, 1129, 2129, 2617, 2879, 4217, 4549, 6397, 6599, 7013, 7877, 8101, 8329, 9029, 10007, 10259, 11839, 12391, 26881, 30707, 35257, 35729, 36683, 37649, 41131, 41641, 49667, 50227, 56597, 63347, 71143, 75211, 79393, 82963, 102797 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
LINKS
MATHEMATICA
s=0; lst={}; Do[s+=n; p=IntegerPart[s]; If[PrimeQ[p], AppendTo[lst, p]], {n, 1, 7!, Pi}]; lst
PROG
(PARI) for(n=1, 500, m=floor(n + n*(n-1)*Pi/2); if(isprime(m), print1(m, ", "))) \\ G. C. Greubel, Jul 28 2017
CROSSREFS
Sequence in context: A101190 A201017 A106097 * A075540 A006562 A094847
KEYWORD
nonn
AUTHOR
EXTENSIONS
Definition clarified by R. J. Mathar, Aug 01 2009
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 19 10:56 EDT 2024. Contains 371791 sequences. (Running on oeis4.)