The OEIS mourns the passing of Jim Simons and is grateful to the Simons Foundation for its support of research in many branches of science, including the OEIS.
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!)
A129812 Lesser of consecutive prime pairs whose last digits differ by 6. 1
7, 19, 23, 31, 37, 53, 61, 67, 73, 79, 83, 97, 109, 127, 131, 151, 173, 229, 233, 251, 263, 271, 277, 307, 317, 331, 349, 353, 373, 379, 383, 397, 433, 439, 443, 457, 487, 499, 503, 541, 563, 571, 593, 601, 653, 733, 739, 751, 757, 769, 839, 859, 877, 907, 937 (list; graph; refs; listen; history; text; internal format)
OFFSET
2,1
COMMENTS
Conjecture: The number of terms in this sequence is infinite.
LINKS
EXAMPLE
The last digits of the consecutive prime pair 7 and 11 differ by 6 so 7 is in the table.
MATHEMATICA
Select[Partition[Prime[Range[200]], 2, 1], Abs[Mod[#[[1]], 10]-Mod[#[[2]], 10]]==6&][[All, 1]] (* Harvey P. Dale, Jan 23 2023 *)
PROG
(PARI) \d can be 2, 4, 6, 8 primediffd(n, d) = { forprime(x=3, n, y=abs((nextprime(x+1)%10-x%10)); if(y==d, print1(x", ") ) ) }
CROSSREFS
Sequence in context: A123532 A113972 A082422 * A353046 A032680 A141831
KEYWORD
easy,nonn,base,less
AUTHOR
Cino Hilliard, May 19 2007
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 May 29 14:24 EDT 2024. Contains 372952 sequences. (Running on oeis4.)