|
|
A055381
|
|
Smallest composite k such that the n closest primes below and above k are symmetric about k.
|
|
13
|
|
|
4, 9, 12, 30, 30, 165, 8021811, 1071065190, 1613902650, 1797595815015, 633925574060895, 22930603692243585
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
1,1
|
|
COMMENTS
|
Center of the smallest 2n-tuple of consecutive odd primes with symmetrical gaps (cf. A055382).
|
|
LINKS
|
|
|
FORMULA
|
|
|
EXAMPLE
|
The three primes on each side of 12 (13, 17, 19 and 11, 7, 5) are symmetrical with respect to the gaps, so a(3) = 12.
|
|
MATHEMATICA
|
Table[i = n + 2;
While[x =
Differences@
Flatten@{Table[NextPrime[i, k], {k, -n, -1}], i,
Table[NextPrime[i, k], {k, 1, n}]}; x != Reverse[x],
|
|
CROSSREFS
|
|
|
KEYWORD
|
nonn,more,hard
|
|
AUTHOR
|
|
|
EXTENSIONS
|
|
|
STATUS
|
approved
|
|
|
|