login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A057822
Smaller of pair of twin primes whose average is lcm(1,...,m) for some m.
0
5, 11, 59, 419, 232792559, 442720643463713815199
OFFSET
1,1
COMMENTS
Known values of m such that lcm(1,...,m) is a twin prime mean value are as follows: {3, 4, 5, 6, 7, 19, 20, 21, 22, 47, 48}.
No more such primes occurs below m < 2000.
No more such primes occurs below m < 30000. - Amiram Eldar, Aug 18 2024
EXAMPLE
419 and 421 are twin primes, (419 + 421)/2 = 420 = lcm(1,2,3,4,5,6,7).
MATHEMATICA
Select[FoldList[LCM, Select[Range[50], PrimePowerQ]] - 1, And @@ PrimeQ[# + {0, 2}] &] (* Amiram Eldar, Aug 18 2024 *)
PROG
(PARI) lista(nn=50) = {for (i=1, nn, if (isprimepower(i), if (isprime(p=lcm([2..i])-1) && isprime(p+2), print1(p, ", ")); ); ); } \\ Michel Marcus, Aug 25 2019
CROSSREFS
Intersection of A057824 and {A049536(n)-2}.
Sequence in context: A136669 A208768 A057824 * A168243 A173875 A095150
KEYWORD
nonn,hard
AUTHOR
Labos Elemer, Nov 08 2000
STATUS
approved