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!)
A045390 Primes congruent to {1, 2} mod 8. 3
2, 17, 41, 73, 89, 97, 113, 137, 193, 233, 241, 257, 281, 313, 337, 353, 401, 409, 433, 449, 457, 521, 569, 577, 593, 601, 617, 641, 673, 761, 769, 809, 857, 881, 929, 937, 953, 977, 1009, 1033, 1049, 1097, 1129 (list; graph; refs; listen; history; text; internal format)
OFFSET

1,1

COMMENTS

Essentially the same as A007519: 2 followed by A007519.

Primes p such that -1 is a 4th power (mod p). E.g.: 1^4 == -1 (mod 2), 2^4 == -1 (mod 17), 3^4 == -1 (mod 41), 10^4 == -1 (mod 73). - Eric M. Schmidt, Mar 27 2014

LINKS

Ray Chandler, Table of n, a(n) for n = 1..10000 (first 1000 terms from Vincenzo Librandi)

MATHEMATICA

Select[Prime[Range[300]], MemberQ[{1, 2}, Mod[#, 8]]&] (* Vincenzo Librandi, Aug 11 2012 *)

PROG

(Magma) [p: p in PrimesUpTo(1300) | p mod 8 in [1, 2]]; // Vincenzo Librandi, Aug 11 2012

CROSSREFS

Cf. A000040.

Sequence in context: A212276 A000956 A031906 * A289135 A072582 A186687

Adjacent sequences: A045387 A045388 A045389 * A045391 A045392 A045393

KEYWORD

nonn,easy

AUTHOR

N. J. A. Sloane

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 March 25 16:29 EDT 2023. Contains 361528 sequences. (Running on oeis4.)