login
This site is supported by donations to The OEIS Foundation.
Logo

Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A073259 Length of FixedPointList leading to value of n-th composite number. 5
4, 4, 4, 3, 3, 4, 4, 3, 3, 4, 4, 4, 3, 4, 4, 3, 3, 3, 4, 4, 4, 3, 3, 3, 4, 4, 3, 4, 5, 4, 3, 4, 4, 4, 3, 3, 4, 4, 4, 3, 3, 4, 5, 4, 4, 3, 3, 4, 4, 4, 4, 5, 4, 4, 4, 3, 4, 4, 4, 5, 4, 4, 4, 3, 4, 4, 4, 4, 3, 3, 3, 4, 4, 4, 4, 5, 4, 4, 5, 5, 4, 4, 5, 4, 4, 4, 4, 4, 3, 3, 3, 3, 3, 3, 3, 4, 4, 4, 5, 4, 4, 4, 3, 4, 5 (list; graph; refs; listen; history; internal format)
OFFSET

1,1

FORMULA

See program below.

EXAMPLE

n=1000000:the list={1000000,1078499,1084157,1084577,1084604,1084605}, its length including initial term is 6, while composite[1000000]=1084605.

MATHEMATICA

Table[Length[FixedPointList[w+PrimePi[ # ]+1&, w]]-1, {w, 1, 128}]

CROSSREFS

Cf. A064814, A002808, A073255-A073264.

Sequence in context: A117499 A063570 A023977 * A174987 A171408 A071907

Adjacent sequences:  A073256 A073257 A073258 * A073260 A073261 A073262

KEYWORD

nonn

AUTHOR

Labos E. (labos(AT)ana.sote.hu), Jul 22 2002

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Transforms | Puzzles | Hot | Classics
Recent Additions | More pages | Superseeker | Maintained by The OEIS Foundation Inc.

Content is available under The OEIS End-User License Agreement .

Last modified February 15 17:40 EST 2012. Contains 205828 sequences.