Newman-Shanks-Williams prime
From Wikipedia, the free encyclopedia
In mathematics, a Newman-Shanks-Williams prime (often abbreviated NSW prime) is a prime number p which can be written in the form
NSW primes were first described by Morris Newman, Daniel Shanks and H. C. Williams in 1981 during the study of finite groups with square order.
The first few NSW primes are 7, 41, 239, 9369319, 63018038201, … (sequence A088165 in OEIS), corresponding to the indices 3, 5, 7, 19, 29, … (A005850).
The sequence S alluded to in the formula can be described by the following recurrence relation:
- S0 = 1
- S1 = 1

The first few terms of the sequence are 1, 1, 3, 7, 17, 41, 99, … (sequence A001333 in OEIS). Each term in this sequence is half the corresponding term in the sequence of companion Pell numbers. These numbers also appear in the continued fraction convergents to √2.
[edit] Further reading
- M. Newman, D. Shanks and H. C. Williams, Simple groups of square order and an interesting sequence of primes, Acta. Arith., 38:2 (1980/81) 129-140.


