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

 

Logo

Revision History for A002144

(Underlined text is an ; strikethrough text is a deletion.)

Showing entries 1-10 | older changes
A002144 Pythagorean primes: primes of form 4*k + 1.
(history; published version)
#436 by Joerg Arndt at Mon Jul 08 10:41:06 EDT 2024
STATUS

reviewed

#435 by Michel Marcus at Mon Jul 08 10:25:51 EDT 2024
STATUS

proposed

#434 by Robert C. Lyons at Mon Jul 08 09:48:49 EDT 2024
STATUS

editing

#433 by Robert C. Lyons at Mon Jul 08 09:48:46 EDT 2024
PROG

\\ From _M. F. Hasler_, Jul 06 2024

STATUS

approved

#432 by Michael De Vlieger at Mon Jul 08 09:46:06 EDT 2024
STATUS

proposed

#431 by Robert C. Lyons at Mon Jul 08 09:43:30 EDT 2024
STATUS

editing

#430 by Robert C. Lyons at Mon Jul 08 09:43:26 EDT 2024
PROG

From M. F. Hasler, Jul 06 2024: (Start)

A2144=List(5); A002144(n)={while(#A2144<n, listput(A2144, A002144_next())); A2144[n]} \\ (End)

(Sage)

STATUS

approved

#429 by M. F. Hasler at Sun Jul 07 23:26:26 EDT 2024
PROG

(Python)

from sympy import isprime

def A2144(limit: int = 99**9): # generator of the terms up to 'limit' (almost oo by default)

for p in range(5, limit, 4):

if isprime(p): yield p # M. F. Hasler, Jul 07 2024

[p for _, p in zip(range(50), A2144())] # to see the first 50 terms

STATUS

editing

#428 by M. F. Hasler at Sun Jul 07 23:17:22 EDT 2024
PROG

from sympy import isprimedef A2144(limit: int = 99**9): # generator of the terms up to 'limit' (almost oo by default) for p in range(5, limit, 4): if isprime(p): yield p # M. F. Hasler, Jul 07 2024[p for _, p in zip(range(50), A2144())] # to see the first 50 terms

#427 by M. F. Hasler at Sun Jul 07 23:15:34 EDT 2024
PROG

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 July 16 21:48 EDT 2024. Contains 374358 sequences. (Running on oeis4.)