OFFSET
1,9
COMMENTS
Related to Gilbreath's conjecture: number of "0"s preceding the first term > 1 in the n-th row of the table A036261 (= row n of the table A036262 which starts with row 0).
Gilbreath's conjecture would be violated if the initial 1 would not always be followed by some number (>= 0) of "0"s and then a "2" as the first term > 1. See also A089582.
LINKS
Robert Israel, Table of n, a(n) for n = 1..10000
MAPLE
L:= [seq(ithprime(i), i=1..120)]:
for i from 1 to 100 do
L:= map(abs, L[2..-1]-L[1..-2]);
for j from 2 do
if L[j] <> 0 then R[i]:= j-2; break fi;
od;
od:
seq(R[i], i=1..100); # Robert Israel, Dec 13 2023
PROG
(PARI) my( p=primes(150), D(v)=vecextract(v, "^1")-vecextract(v, "^-1")); while(p=abs(D(p)), for(i=2, #p, p[i] & !print1(i-2", ") & next(2)); break)
CROSSREFS
KEYWORD
nonn
AUTHOR
M. F. Hasler, Jun 02 2012
STATUS
approved