login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A096264 Primes that do not divide any terms of the sequence f given by f(1) = 2, f(n+1) = f(n)^2-f(n)+1. 2
5, 11, 17, 19, 23, 29, 31, 37, 41, 47, 53, 59, 61, 67, 71, 79, 83, 89, 97, 101, 103, 107, 109, 113, 127, 131, 137, 149, 151, 157, 163, 167, 173, 179, 191, 193, 197, 199, 211, 223, 227, 229, 233, 239, 241, 251, 257, 263, 269, 271, 277, 281, 283 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
LINKS
R. W. K. Odoni, On the prime divisors of the sequence w_{n+1} = 1+w_1 ... w_n, J. London Math. Soc. 32 (1985), 1-11.
MAPLE
IsSylvester:=proc(p)
local x, S ; x:=2 : S:=NULL: while not member(x, [S]) do if x=0 then
return(true) fi; S := S , x; x := (x^2-x+1) mod p od : return false end:
L:=NULL:p:=5:while p<1000 do if not IsSylvester(p) then L:=L, p fi : p:=nextprime(p) od:
L;
# Robert FERREOL, Feb 14 2019
CROSSREFS
Complement of A007996 (in the primes).
Sequence in context: A266420 A317048 A081717 * A239709 A175249 A271982
KEYWORD
nonn
AUTHOR
Jeffrey Shallit, Aug 04 2004
EXTENSIONS
Definition corrected (following a remark by Don Reble) by M. F. Hasler, Apr 24 2014
STATUS
approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified June 21 21:50 EDT 2024. Contains 373559 sequences. (Running on oeis4.)