a(n) is the smallest prime that does not divide n(n+1)/2.

A135376

a(n) is the smallest prime that does not divide n(n+1)/2.

Terms

    a(0) =2a(1) =2a(2) =5a(3) =3a(4) =2a(5) =2a(6) =3a(7) =5a(8) =2a(9) =2a(10) =5a(11) =5a(12) =2a(13) =2a(14) =7a(15) =3a(16) =2a(17) =2a(18) =3a(19) =11a(20) =2a(21) =2a(22) =5a(23) =7a(24) =2a(25) =2a(26) =5a(27) =3a(28) =2a(29) =2

External references