

A349994


a(n) is the difference between the nth prime and the next smaller odd squarefree semiprime, divided by 2.


1



1, 2, 1, 4, 5, 1, 1, 2, 4, 1, 1, 2, 1, 1, 2, 1, 3, 1, 1, 3, 4, 6, 7, 1, 2, 1, 2, 3, 2, 3, 1, 1, 3, 6, 1, 2, 2, 3, 5, 6, 1, 1, 3, 4, 6, 1, 2, 1, 2, 2, 1, 2, 5, 7, 8, 1, 1, 1, 2, 4, 1, 1, 3, 4, 6, 2, 1, 1, 1, 1, 4, 1, 3, 1, 1, 2, 2, 3, 1, 3, 1, 2, 4, 5, 7, 3, 1, 1, 1
(list;
graph;
refs;
listen;
history;
text;
internal format)



OFFSET

7,2


LINKS



EXAMPLE

a(7) = (17  15)/2 = 1,
a(8) = (19  15)/2 = 2,
a(9) = (23  21)/2 = 1,
a(10) = (29  21)/2 = 4.


PROG

(PARI) forprime(p=17, 500, forstep(k=p2, 15, 2, if(omega(k)==2&&bigomega(k)==2, print1((pk)/2, ", "); break)))


CROSSREFS



KEYWORD

nonn


AUTHOR



STATUS

approved



