A288915 Run lengths in A039704.
1, 1, 1, 1, 1, 1, 1, 1, 2, 2, 1, 1, 3, 2, 1, 2, 2, 1, 1, 1, 1, 1, 1, 1, 2, 1, 1, 3, 3, 1, 1, 1, 1, 3, 1, 1, 2, 1, 4, 2, 1, 1, 1, 1, 1, 1, 1, 2, 1, 1, 2, 3, 2, 1, 1, 1, 1, 1, 1, 2, 2, 1, 1, 1, 2, 1, 1, 1, 3, 3
Offset: 1
Keywords
Links
- Zak Seidov, Table of n, a(n) for n = 1..20000
Programs
-
Mathematica
Length /@ Split[Mod[Prime[Range[100]], 6]]
-
PARI
t=1;p=2;forprime(q=3,1e3,if((q-p)%6==0,t++,print1(t", ");t=1);p=q) \\ Charles R Greathouse IV, Jun 19 2017
Extensions
a(70) corrected by Charles R Greathouse IV, Jun 19 2017
Comments