login
This site is supported by donations to The OEIS Foundation.

 

Logo

Many excellent designs for a new banner were submitted. We will use the best of them in rotation.

Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A007529 Prime triples: n; n+2 or n+4; n+6 all prime.
(Formerly M3760)
10
5, 7, 11, 13, 17, 37, 41, 67, 97, 101, 103, 107, 191, 193, 223, 227, 277, 307, 311, 347, 457, 461, 613, 641, 821, 823, 853, 857, 877, 881, 1087, 1091, 1277, 1297, 1301, 1423, 1427, 1447, 1481, 1483, 1487, 1607, 1663, 1693, 1783, 1867, 1871, 1873, 1993, 1997 (list; graph; refs; listen; history; text; internal format)
OFFSET

1,1

COMMENTS

Or, p(m) such that p(m+2)=p(m)+6, where p(m) is the m-th prime. - Zak Seidov, May 07 2012

REFERENCES

H. Riesel, ``Prime numbers and computer methods for factorization,'' Progress in Mathematics, Vol. 57, Birkhauser, Boston, 1985, Chap. 4, see p. 65.

N. J. A. Sloane and Simon Plouffe, The Encyclopedia of Integer Sequences, Academic Press, 1995 (includes this sequence).

LINKS

Zak Seidov, Table of n, a(n) for n = 1..10000

MATHEMATICA

ptrsQ[n_]:=PrimeQ[n+6]&&(PrimeQ[n+2]||PrimeQ[n+4])

Select[Prime[Range[400]], ptrsQ]  (* Harvey P. Dale, Mar 08 2011 *)

PROG

(MAGMA) [NthPrime(n): n in [1..310] | (NthPrime(n)+6) eq NthPrime(n+2)]; // Bruno Berselli, May 07 2012

(PARI) p=2; q=3; forprime(r=5, 1e4, if(r-p==6, print1(p", ")); p=q; q=r) \\ Charles R Greathouse IV, May 07 2012

CROSSREFS

Cf. A031924, A023201, A098414, A098415, A098424, A098416, A098417.

Sequence in context: A227576 A114262 A230217 * A108409 A039681 A216746

Adjacent sequences:  A007526 A007527 A007528 * A007530 A007531 A007532

KEYWORD

nonn

AUTHOR

N. J. A. Sloane, Robert G. Wilson v

STATUS

approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Transforms | Superseeker | Recent | More pages
The OEIS Community | Maintained by The OEIS Foundation Inc.

Content is available under The OEIS End-User License Agreement .

Last modified April 24 05:31 EDT 2014. Contains 240953 sequences.