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!)
A213014 Number of zeros following the initial 1 in n-th absolute difference of primes. 3
0, 1, 0, 0, 0, 0, 0, 0, 6, 5, 4, 3, 2, 1, 0, 0, 1, 0, 0, 2, 1, 0, 0, 0, 3, 2, 1, 0, 0, 1, 0, 3, 2, 1, 0, 0, 6, 5, 4, 3, 2, 1, 0, 0, 1, 0, 0, 1, 0, 2, 1, 0, 1, 0, 0, 0, 0, 6, 5, 4, 3, 2, 1, 0, 2, 1, 0, 0, 2, 1, 0, 0, 1, 0, 5, 4, 3, 2, 1, 0, 1, 0, 0, 0, 0, 0, 2, 1, 0, 0, 2, 1, 0, 0, 4, 3, 2, 1, 0, 0, 0, 0, 3, 2, 1, 0, 0 (list; graph; refs; listen; history; text; internal format)
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
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
Sequence in context: A263879 A085664 A154007 * A022962 A023448 A307337
KEYWORD
nonn
AUTHOR
M. F. Hasler, Jun 02 2012
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 April 19 12:14 EDT 2024. Contains 371792 sequences. (Running on oeis4.)