1,4

a(23)>10^4. - Zak Seidov, Jan 24 2017

Table of n, a(n) for n=1..22.

a(10) = 4 because A033875(10) = 31, 31+2^4 = 47 which is prime.

p = 2; n = 0; While[true, x = 0; While[ ! PrimeQ[p + 2^x], x++ ]; p = p + 2^x; Print[x]; n++ ]

Skipping from prime to prime by least powers of 2: A033875.

Sequence in context: A234022 A261273 A097454 * A058746 A080916 A071622

Adjacent sequences: A139800 A139801 A139802 * A139804 A139805 A139806

nonn

Johan SĂ¤rnbratt, May 22 2008

approved