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.

A210339 Generalized Cullen primes: any primes that can be written in the form n*b^n + 1 with n+2 > b > 2.

Original entry on oeis.org

19, 193, 52489, 114689, 9000000001, 259374246011, 38280596832649217, 59296646043258913, 408700964355468751, 2434970217729660813313, 13576803638250229989377, 21000000000000000000001, 3140085798164163223281069127, 4818833289797717549937328129
Offset: 1

Views

Author

Arkadiusz Wesolowski, Mar 20 2012

Keywords

Examples

			81*2^324 + 1 is a prime number and 81*2^324 + 1 = 81*16^81 + 1, so this number is in the sequence.
		

References

  • Harvey Dubner, Generalized Cullen numbers, J. Recreational Math. 21 (1989), pp. 190-194.

Crossrefs

Programs

  • Mathematica
    lst = {}; Do[p = n*b^n + 1; If[p < 10^200 && PrimeQ[p], AppendTo[lst, p]], {b, 3, 100}, {n, b - 1, 413}]; Sort@lst