%I #2 Oct 12 2013 15:14:04
%S 5,5,5,7,7,7,7,7,7,11,13,13,13,13,13,17,17,17,17,17,19,23,23,29,29,31,
%T 37,37,37,43,43,43,47,47,59,61,61,61,67,67,67,73,79,79,83,83,89,89,97,
%U 97,103,109,127,131,131,137,137,151,163,163,167,167,173,173,173,179,179
%N Consider pairs (i,j) such that j*P(i)# - P(i+2) and j*P(i)# - P(i+1) are consecutive primes and 0 < j < P(i+1), where P(r) = r-th prime and P(r)# = r-th primorial number (A002110). Sequence gives i values.
%e 1*2*3*5 - 11 = 19, 1*2*3*5 - 7 = 23, 19 and 23 consecutive primes;
%e 3*2*3*5 - 11 = 79, 3*2*3*5 - 7 = 83, 79 and 83 consecutive primes;
%e 4*2*3*5 - 11 = 109, 4*2*3*5 - 7 = 113, 109 and 113 consecutive primes;
%e so 5 = P(3) is the first term in the sequence and occurs 3 times for j=1,3,4.
%Y A087517 gives j values.
%K nonn
%O 0,1
%A _Pierre CAMI_, Oct 23 2003
|