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!)
A054681 Start of a run of consecutive primes of length n each ending with the same digit. 8
2, 139, 1627, 18839, 123229, 776257, 3873011, 23884639, 36539311, 196943081, 452942827, 73712513057, 154351758091, 154351758091, 4010803176619, 6987191424553, 71894236537009, 196948379177587, 253931039382791 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
COMMENTS
n consecutive primes differ by a multiple of 10 starting at a(n).
n consecutive primes that are congruent mod 10, i.e., they are not necessarily in arithmetic progression.
LINKS
William F. Sindelar, Mark Underwood, Mikael Klasson, Gaps Between Consecutive Odds not Divisible by 3, digest of 5 messages in primenumbers Yahoo group, Jun 27 - Jun 29, 2003. [Cached copy]
EXAMPLE
a(2)=139 because 139 and 149 are the first consecutive primes to share a terminal digit.
PROG
(PARI) i=1; s=0; d=0; l=0; forprime(p=1, 500000, if(p%10==d, l++, if(l>=i, print(s); i++); s=p; d=p%10; l=1)) \\ (Carmody)
CROSSREFS
Sequence in context: A212715 A329594 A084560 * A152509 A265462 A094482
KEYWORD
nonn,base
AUTHOR
Jeff Burch, Apr 18 2000
EXTENSIONS
More terms from Phil Carmody, Jun 27 2003
Further from Jens Kruse Andersen, Jun 03 2006
a(17)-a(19) from Giovanni Resta, Aug 01 2013
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 March 1 22:23 EST 2024. Contains 370443 sequences. (Running on oeis4.)