a(0)=2; for n > 0, a(n) = smallest prime not occurring earlier in the sequence such that a(n-1) + a(n) is a multiple of n. If no such prime exists, the sequence terminates.
A134204
a(0)=2; for n > 0, a(n) = smallest prime not occurring earlier in the sequence such that a(n-1) + a(n) is a multiple of n. If no such prime exists, the sequence terminates.
Terms
- a(0) =2a(1) =3a(2) =5a(3) =7a(4) =13a(5) =17a(6) =19a(7) =23a(8) =41a(9) =31a(10) =29a(11) =37a(12) =11a(13) =67a(14) =59a(15) =61a(16) =83a(17) =53a(18) =73a(19) =79a(20) =101a(21) =109a(22) =89a(23) =233a(24) =103a(25) =47a(26) =239a(27) =139a(28) =113a(29) =293
External references
- oeis: A134204