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!)
A139487 Numbers k such that 8k + 7 is prime. 11
0, 2, 3, 5, 8, 9, 12, 15, 18, 20, 23, 24, 27, 29, 32, 33, 38, 44, 45, 47, 53, 54, 57, 59, 60, 62, 74, 75, 78, 80, 89, 90, 92, 93, 102, 104, 107, 110, 113, 114, 120, 122, 123, 128, 129, 132, 135, 137, 143, 152, 153, 159, 162, 164, 165, 170, 174, 177, 179, 180, 183, 185 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,2
COMMENTS
For numbers k such that:
8k+1 is prime see A005123, primes see A007519;
8k+3 is prime see A005124, primes see A007520;
8k+5 is prime see A105133, primes see A007521;
8k+7 is prime see A139487, primes see A007522.
8k + 7 divides A000225(4k+3). - Jinyuan Wang, Mar 08 2019
LINKS
FORMULA
a(n) = (A007522(n) - 7)/8, n >= 1.
MATHEMATICA
a = {}; Do[If[PrimeQ[8 n + 7], AppendTo[a, n]], {n, 0, 300}]; a
Select[Range[0, 200], PrimeQ[8#+7]&] (* Harvey P. Dale, Oct 10 2012 *)
PROG
(Magma) [n: n in [0..200] | IsPrime(8*n+7)]; // Vincenzo Librandi, Jun 25 2014
(PARI) is(n)=isprime(8*n+7) \\ Charles R Greathouse IV, Feb 17 2017
CROSSREFS
Sequence in context: A122933 A091513 A060138 * A162586 A232868 A189086
KEYWORD
nonn,easy
AUTHOR
Artur Jasinski, Apr 23 2008
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 19:02 EDT 2024. Contains 371798 sequences. (Running on oeis4.)