This site is supported by donations to The OEIS Foundation.

User talk:M. F. Hasler/drafts/A238715

From OeisWiki
Jump to: navigation, search

Least prime of a run of 3 or more consecutive decadal prime triplets

11, 821, 1031, 1423, 5413, 13691, 140831, 220873, 266023, 283571, 464741, 1596311, 1660661, 1966813, 2655403, 3303341, 5191331, 5485393, 8125511, ...

(PARI)

{d=10; p=primepi(d); i=0; while( po=p, p=primepi( d+=10 ); p>2+po & i++ & (p=primepi(d+=20)) & next; i | next; i>=3 & print1(nextprime(d-10-30*i)", ");i=0;)} /* this could be optimized quite a bit... */

Comments

  • The prime a(1)=11 starts a run of 5 consecutive triplets (cf. example), "primehunter" J.K.Andersen found the start of the second run of length 5, starting at p = 9100524636851.

Cross-references


Author

M. F. Hasler 21:17, 3 January 2010 (UTC)