Primes p such that for all initial conditions (x(0),x(1),x(2),x(3),x(4)) in [0..p-1]^5 except [0,0,0,0,0], the 5-step recurrence x(k) = x(k-1) + x(k-2) + x(k-3) + x(k-4) + x(k-5) (mod p) has the same period.

A106309

Primes p such that for all initial conditions (x(0),x(1),x(2),x(3),x(4)) in [0..p-1]^5 except [0,0,0,0,0], the 5-step recurrence x(k) = x(k-1) + x(k-2) + x(k-3) + x(k-4) + x(k-5) (mod p) has the same period.

Terms

    a(0) =5a(1) =7a(2) =11a(3) =13a(4) =17a(5) =31a(6) =37a(7) =41a(8) =53a(9) =79a(10) =107a(11) =199a(12) =233a(13) =239a(14) =311a(15) =331a(16) =337a(17) =389a(18) =463a(19) =523a(20) =541a(21) =547a(22) =557a(23) =563a(24) =577a(25) =677a(26) =769a(27) =853a(28) =937a(29) =971

External references