Numbers of people such that the first person is freed in the variant of the Josephus problem in which one person is skipped, then one is eliminated, then two people are skipped and one eliminated, then three people are skipped and so on.

A386305

Numbers of people such that the first person is freed in the variant of the Josephus problem in which one person is skipped, then one is eliminated, then two people are skipped and one eliminated, then three people are skipped and so on.

Terms

    a(0) =1a(1) =2a(2) =3a(3) =18a(4) =22a(5) =171a(6) =195a(7) =234a(8) =1262a(9) =2136a(10) =6040a(11) =42545a(12) =353067a(13) =1332099a(14) =1447753a(15) =2789475a(16) =3635021a(17) =7857445a(18) =9224024a(19) =17128159a(20) =27666710a(21) =29279638

External references