cp's OEIS Frontend

This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.

Previous Showing 11-12 of 12 results.

A053609 Primes of form x^2+1 where x = LCM(1,2,...,k) for some k.

Original entry on oeis.org

2, 5, 37, 176401, 129859329601, 516625648014869290354797521879383114125823989794742396526049715541246671360001
Offset: 1

Views

Author

Labos Elemer, Feb 09 2000

Keywords

Comments

The next term has k > 10^4, if it exists. - Amiram Eldar, Aug 23 2024

Crossrefs

Programs

  • Mathematica
    Select[FoldList[LCM, 1, Select[Range[100], PrimePowerQ]]^2 + 1, PrimeQ] (* Amiram Eldar, Aug 23 2024 *)

Formula

a(n) = A053608(A053608(n)) = A053608(n)^2 + 1. - Amiram Eldar, Aug 23 2024

A057822 Smaller of pair of twin primes whose average is lcm(1,...,m) for some m.

Original entry on oeis.org

5, 11, 59, 419, 232792559, 442720643463713815199
Offset: 1

Views

Author

Labos Elemer, Nov 08 2000

Keywords

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

Examples

			419 and 421 are twin primes, (419 + 421)/2 = 420 = lcm(1,2,3,4,5,6,7).
		

Crossrefs

Intersection of A057824 and {A049536(n)-2}.

Programs

  • Mathematica
    Select[FoldList[LCM, Select[Range[50], PrimePowerQ]] - 1, And @@ PrimeQ[# + {0, 2}] &] (* Amiram Eldar, Aug 18 2024 *)
  • 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
Previous Showing 11-12 of 12 results.