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!)
A005122 Numbers k such that 8k - 1 is prime. 13
1, 3, 4, 6, 9, 10, 13, 16, 19, 21, 24, 25, 28, 30, 33, 34, 39, 45, 46, 48, 54, 55, 58, 60, 61, 63, 75, 76, 79, 81, 90, 91, 93, 94, 103, 105, 108, 111, 114, 115, 121, 123, 124, 129, 130, 133, 136, 138, 144, 153, 154, 160, 163, 165, 166, 171, 175, 178, 180 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,2
COMMENTS
Corresponding primes are listed in A007522. - Altug Alkan, Dec 10 2015
LINKS
MAPLE
A005122:=n->`if`(isprime(8*n-1), n, NULL): seq(A005122(n), n=1..300); # Wesley Ivan Hurt, Dec 11 2015
MATHEMATICA
Select[Range[160], PrimeQ[8#-1]&] (* Harvey P. Dale, Nov 25 2011 *)
PROG
(PARI) isok(n) = isprime(8*n-1); \\ Michel Marcus, Dec 10 2015
(Magma) [n: n in [1..200] | IsPrime(8*n-1)]; // Vincenzo Librandi, Dec 10 2015
CROSSREFS
Cf. A007522.
Sequence in context: A089986 A101448 A299231 * A166161 A368136 A130904
KEYWORD
nonn,easy
AUTHOR
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 07:07 EDT 2024. Contains 371964 sequences. (Running on oeis4.)