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!)
A196935 a(n) is the number of arithmetic progressions prime chains in the form of p(n)-6k, p(n), p(n)+6k, while k > 0 and p(n) > 6k. 1
1, 1, 2, 1, 2, 3, 1, 3, 3, 3, 4, 4, 5, 3, 4, 6, 5, 4, 4, 6, 5, 7, 6, 6, 6, 5, 7, 8, 9, 6, 10, 8, 7, 6, 9, 8, 9, 6, 8, 10, 10, 6, 9, 10, 11, 8, 11, 10, 9, 13, 13, 13, 13, 9, 10, 13, 11, 12, 14, 15, 11, 12, 12, 14, 17, 13, 18, 14, 14, 16, 14, 16, 14, 16, 15, 16 (list; graph; refs; listen; history; text; internal format)
OFFSET
5,3
COMMENTS
Conjecture: a(n) > 0 for all n >= 5.
The Mathematica program gives term 5 through 80.
LINKS
EXAMPLE
n = 5, p(5) = 11; {5, 11, 17} forms a difference 6 Arithmetic Progressions Prime chain. And this is the only occurrence for 11. So a(5) = 1;
n = 6, p(6) = 13; {7, 13, 19} forms a difference 6 Arithmetic Progressions Prime chain. And this is the only occurrence for 11. So a(6) = 1;
...
n = 10, p(10) = 29; {17, 29, 41}, {11, 29, 47}, {5, 29, 53} form Arithmetic Progressions Prime chains with difference 12, 18, 24 respectively. So a(10) = 3;
MATHEMATICA
Table[ct = 0; p = Prime[i]; j = 0; While[j++; df = 6*j; df < p, If[(PrimeQ[p + df]) && (PrimeQ[p - df]), ct++]]; ct, {i, 5, 80}]
CROSSREFS
Sequence in context: A286343 A368399 A075106 * A226314 A036995 A225597
KEYWORD
nonn,easy
AUTHOR
Lei Zhou, Oct 07 2011
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 21 19:35 EDT 2024. Contains 372738 sequences. (Running on oeis4.)