Talk:Josephus problem: Difference between revisions
Content added Content deleted
(→Categorisation of solutions: R[2]) |
m (→Categorisation of solutions: sp) |
||
Line 152: | Line 152: | ||
::In the new R solution, I found it odd that you wrote |
::In the new R solution, I found it odd that you wrote |
||
It is 1-indexed, meaning that we will have a tough time using most solutions that exploit modular arithmetic. |
It is 1-indexed, meaning that we will have a tough time using most solutions that exploit modular arithmetic. |
||
::(1) it is just below the existing R "Growing circle solution" which uses modular |
::(1) it is just below the existing R "Growing circle solution" which uses modular arithmetic, and |
||
::(2) Phix has 1-based indexes and it didn't bother me. Anyway, I added R[2] to "contractalot". --[[User:Petelomax|Pete Lomax]] ([[User talk:Petelomax|talk]]) 20:43, 30 June 2020 (UTC) |
::(2) Phix has 1-based indexes and it didn't bother me. Anyway, I added R[2] to "contractalot". --[[User:Petelomax|Pete Lomax]] ([[User talk:Petelomax|talk]]) 20:43, 30 June 2020 (UTC) |