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.

A052289 Numbers n such that n!*2^n + n + 1 = A000165(n) + n + 1 is prime.

Original entry on oeis.org

0, 2, 4, 12, 18, 36
Offset: 1

Views

Author

Labos Elemer, Feb 08 2000

Keywords

Comments

For comparison, A000165(n)+1 is prime for n = 0, 1, 259, 16708, 18655,... (A256594).
a(6) > 25000, if it exists. - Giovanni Resta, Jun 01 2018

Examples

			n=4, 2^4*4! + 4 + 1 = 389 is prime.
		

Crossrefs

Programs

  • Mathematica
    Select[Range[100], PrimeQ[#! 2^# + # + 1] &] (* Giovanni Resta, May 31 2018 *)

Extensions

a(1)=0 inserted by Sean A. Irvine, Nov 03 2021