cp's OEIS Frontend

This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.

A073322 a(n)=A073259[A002808(n)] and a(0)=3; Length of FixedPointList started with n-th nonprime and leading to corresponding composite number= c[c(n)].

Original entry on oeis.org

3, 4, 3, 3, 4, 4, 4, 4, 3, 3, 4, 4, 3, 3, 4, 4, 3, 4, 4, 4, 4, 4, 3, 3, 4, 4, 3, 4, 4, 4, 3, 4, 4, 4, 4, 5, 4, 4, 3, 4, 4, 5, 4, 4, 3, 4, 4, 4, 3, 3, 4, 4, 4, 5, 4, 4, 5, 4, 4, 4, 4, 4, 4, 4, 3, 3, 3, 3, 3, 3, 4, 4, 5, 4, 4, 4, 5, 4, 4, 3, 3, 3, 4, 5, 4, 4, 4, 4, 4, 4, 4, 4, 4, 5, 4, 5, 4, 4, 4, 5, 4, 4, 4, 5, 4
Offset: 0

Views

Author

Labos Elemer, Jul 29 2002

Keywords

Examples

			list to n=0 corresponding to c[0]=1: {1,2,3,4} started with first nonprime ended with first composite; n=10: composite[10]=18, a(10)=length[{16,26,28}]=3.
		

Crossrefs

Programs

  • Mathematica
    c[x_] := FixedPoint[x+c[ # ]+1&, x] lfp[x_] := Length[FixedPointList[x+c[ # ]+1&, x]]-1 Table[lfp[c[w]]-1, {w, 1, 128}]

Formula

See Program.