A100375 a(n) is the n-th consecutive prime difference divided by the largest power of 2 which divides it.
1, 1, 1, 1, 1, 1, 1, 1, 3, 1, 3, 1, 1, 1, 3, 3, 1, 3, 1, 1, 3, 1, 3, 1, 1, 1, 1, 1, 1, 7, 1, 3, 1, 5, 1, 3, 3, 1, 3, 3, 1, 5, 1, 1, 1, 3, 3, 1, 1, 1, 3, 1, 5, 3, 3, 3, 1, 3, 1, 1, 5, 7, 1, 1, 1, 7, 3, 5, 1, 1, 3, 1, 3, 3, 1, 3, 1, 1, 1, 5, 1, 5, 1, 3, 1, 3, 1, 1, 1, 1, 3, 1, 1, 1, 1, 3, 3, 1, 9, 3, 5, 3, 3, 1, 3
Offset: 1
Keywords
Links
- Harvey P. Dale, Table of n, a(n) for n = 1..1000
Programs
-
Mathematica
t1=Table[Prime[n+1]-Prime[n], {n, 1, 256}]; t2=Table[GCD[Prime[n+1]-Prime[n], 65536], {n, 1, 256}];t1/t2 #/2^IntegerExponent[#,2]&/@Differences[Prime[Range[110]]] (* Harvey P. Dale, Feb 20 2022 *)