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.

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

Original entry on oeis.org

17, 191, 4373, 5119, 524287, 590489, 3124999, 14680063, 3758096383, 6973568801, 34867844009, 85449218749, 824633720831, 1099999999999, 1618481116086271, 11577835060199423, 14999999999999999, 29311444762388081, 73123168801259519
Offset: 1

Views

Author

Arkadiusz Wesolowski, Mar 20 2012

Keywords

Examples

			167*2^668 - 1 is a prime number and 167*2^668 - 1 = 167*16^167 - 1, so this number is in the sequence.
		

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