OFFSET
1,1
COMMENTS
Given n, the sequence shows the smallest a(n)=A001359(j) solving this pair equation.
The associated upper twin prime is A139188(n) = A006512(j) = A001359(j)+2 = a(n)+2, and the associated factorial index is k(n) = A139186(n).
The twin prime indices j(n) are 2, 3, 17, 2, 48525, 1.
a(7) is unknown, with k(7) > 25000. A continuation of the sequence, with unknown terms indicated by 0, is a(7)..a(50): 0, 453599, 0, 11, 0, 59, 0, 0, 2687, 0, 0, 0, 2688996956405759999, 5, 239, 0, 0, 29, 44960029111104307199, 0, 134399, 179, 0, 3, 0, 0, 0, 0, 1151, 100799, 0, 0, 536481791999, 17, 0, 0, 0, 141523199, 0, 1313375283986387731246850697141608641462271999999999, 0, 7559, 0, 8065829222532112711679999. - Hugo Pfoertner, Mar 30 2020
EXAMPLE
MATHEMATICA
a = {}; Do[k = 1; While[ ! (PrimeQ[(k! - n)/n] && PrimeQ[(k! + n)/n]), k++ ]; AppendTo[a, (k! - n)/n], {n, 1, 6}]; a
CROSSREFS
KEYWORD
nonn,more
AUTHOR
Artur Jasinski, Apr 11 2008
STATUS
approved