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.

Showing 1-2 of 2 results.

A191568 Numbers k such that k*(k+1)^k+1 is prime.

Original entry on oeis.org

1, 2, 3, 9, 10, 14, 33, 36
Offset: 1

Views

Author

Juri-Stepan Gerasimov, Jun 13 2011

Keywords

Comments

The corresponding primes are a subset of the generalized Cullen primes (A210339 U A050920). - Jeppe Stig Nielsen, Apr 12 2016

Examples

			a(1)=1 because 1*2^1+1=3 is prime, a(2)=2 because 2*3^2+1=19 is prime, a(3)=3 because 3*4^3+1=193 is prime, a(4)=9 because 9*10^9+1=9000000001 is prime, a(5)=10 because 10*11^10+1=259374246011 is prime.
		

Crossrefs

Programs

A353122 Numbers k such that k^k*(k+1) + 1 is prime.

Original entry on oeis.org

0, 1, 2, 3, 6, 9, 186, 198, 8390
Offset: 1

Views

Author

Juri-Stepan Gerasimov, Apr 24 2022

Keywords

Comments

Corresponding primes start 2, 3, 13, 109, 326593, 3874204891, ...
a(9) > 6000. - Jon E. Schoenfield, Jun 05 2022
a(10) > 18000. - Michael S. Branicky, Aug 08 2024

Examples

			9 is in the sequence because 9^9*(9+1) + 1 = 3874204891, which is prime.
		

Crossrefs

Programs

  • Magma
    [n: n in [0..200] | IsPrime(n^n*(n+1) + 1)];
    
  • Mathematica
    Join[{0}, Select[Range[200], PrimeQ[#^#*(# + 1) + 1] &]] (* Amiram Eldar, Apr 25 2022 *)
  • PARI
    isok(k) = ispseudoprime(k^k*(k+1) + 1); \\ Michel Marcus, May 16 2022

Extensions

a(9) from Michael S. Branicky, Dec 22 2023
Showing 1-2 of 2 results.