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!)
A005123 Numbers k such that 8k + 1 is prime. 26
2, 5, 9, 11, 12, 14, 17, 24, 29, 30, 32, 35, 39, 42, 44, 50, 51, 54, 56, 57, 65, 71, 72, 74, 75, 77, 80, 84, 95, 96, 101, 107, 110, 116, 117, 119, 122, 126, 129, 131, 137, 141, 144, 149, 150, 152, 156, 161, 162, 165, 170, 176, 179, 185, 186, 194, 200, 201 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
COMMENTS
4*a(n) is the degree of the minimal polynomial of 2*cos(Pi/A007519(n)), called C(A007519(n), x) in A187360. - Wolfdieter Lang, Oct 24 2013
LINKS
FORMULA
a(n) = (A007519(n)-1)/8. - Zak Seidov, Sep 26 2007
MATHEMATICA
Select[Range[0, 300], PrimeQ[8 # + 1] &] (* Vincenzo Librandi, Jun 25 2014 *)
PROG
(Magma) [n: n in [0..200] | IsPrime(8*n+1)]; // Vincenzo Librandi, Jun 25 2014
(PARI) is(n)=isprime(8*n+1) \\ Charles R Greathouse IV, Apr 29 2015
CROSSREFS
Sequence in context: A110781 A170838 A115248 * A332821 A283481 A284875
KEYWORD
nonn
AUTHOR
EXTENSIONS
More terms from Wesley Ivan Hurt, Jun 25 2014
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 25 04:42 EDT 2024. Contains 371964 sequences. (Running on oeis4.)