Least nonnegative number which when added to the n-th semiprime gives a multiple of n.

A131848

Least nonnegative number which when added to the n-th semiprime gives a multiple of n.

Terms

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

External references