Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A100618
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A100618 Initially there are n people in a room. At each step, if there are currently M people in the room, [M/k^2] of them leave, for k = 2, 3, ... Sequence gives number who are left at the end. +0
2
1, 2, 3, 3, 4, 5, 6, 6, 7, 8, 8, 8, 9, 10, 11, 11, 12, 13, 14, 14, 15, 15, 15, 15, 16, 17, 18, 18, 19, 20, 21, 21, 22, 23, 23, 23, 24, 24, 25, 25, 26, 27, 28, 28, 29, 29, 29, 29, 30, 31, 32, 32, 33, 34, 35, 35, 35, 36, 36, 36, 37, 38, 39, 39, 40, 41, 42, 42, 43, 43, 43, 43, 44, 45, 46, 46 (list; graph; listen)
OFFSET

1,2

COMMENT

If [M/k^2] is changed to [M/k] we get A100617.

EXAMPLE

10 -> 10 - [10/4] = 8 -> 8 - [8/9] = 8, which is now fixed, so a(10) = 8.

MAPLE

f:=proc(n) local i, j, k; k:=n; for i from 2 to 10000 do j := floor(k/(i^2)); if j < 1 then break; fi; k := k-j; od; k; end;

CROSSREFS

Sequence in context: A025556 A005229 A091245 this_sequence A061288 A086525 A120503

Adjacent sequences: A100615 A100616 A100617 this_sequence A100619 A100620 A100621

KEYWORD

nonn

AUTHOR

N. J. A. Sloane (njas(AT)research.att.com), Dec 03 2004

page 1

Search completed in 0.002 seconds

Lookup | Welcome | Find friends | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Transforms | Puzzles | Hot | Classics
More pages | Superseeker | Maintained by N. J. A. Sloane (njas@research.att.com)

Last modified November 25 20:09 EST 2009. Contains 167514 sequences.


AT&T Labs Research