a(n+1) is the smallest divisor of (2 + sum of first n terms) but not occurring earlier; a(1) = 1.
A095258
a(n+1) is the smallest divisor of (2 + sum of first n terms) but not occurring earlier; a(1) = 1.
Terms
- a(0) =1a(1) =3a(2) =2a(3) =4a(4) =6a(5) =9a(6) =27a(7) =18a(8) =8a(9) =5a(10) =17a(11) =34a(12) =68a(13) =12a(14) =24a(15) =10a(16) =25a(17) =11a(18) =13a(19) =23a(20) =7a(21) =47a(22) =94a(23) =235a(24) =15a(25) =16a(26) =32a(27) =48a(28) =51a(29) =289
External references
- oeis: A095258