There are n people in a room. The first half (i.e., floor(n/2)) of them leave, then 1/3 (i.e., floor of 1/3) of those remaining leave, then 1/4, then 1/5, etc.; sequence gives number who remain at the end.
A100617
There are n people in a room. The first half (i.e., floor(n/2)) of them leave, then 1/3 (i.e., floor of 1/3) of those remaining leave, then 1/4, then 1/5, etc.; sequence gives number who remain at the end.
Terms
- a(0) =1a(1) =1a(2) =2a(3) =2a(4) =2a(5) =2a(6) =3a(7) =3a(8) =3a(9) =3a(10) =3a(11) =3a(12) =4a(13) =4a(14) =4a(15) =4a(16) =4a(17) =4a(18) =5a(19) =5a(20) =5a(21) =5a(22) =5a(23) =5a(24) =5a(25) =5a(26) =6a(27) =6a(28) =6a(29) =6
External references
- oeis: A100617