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.

Showing 1-2 of 2 results.

A171622 Floor(n-th noncomposite / n).

Original entry on oeis.org

1, 1, 1, 1, 1, 1, 1, 2, 2, 2, 2, 2, 2, 2, 2, 2, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 4, 3, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4
Offset: 1

Views

Author

Jaroslav Krizek, Dec 13 2009

Keywords

Comments

a(n)= floor(A008578(n)/A000027(n)) = floor(A008578(n)/n). Numerators of (A008578(n)/A000027(n)) in A171525(n), denominators of (A008578(n)/A000027(n)) in A171526(n).

Programs

  • Mathematica
    nn=100;With[{ncs=Join[{1},Prime[Range[nn]]]},Floor[#[[1]]/#[[2]]]&/@ Thread[ {ncs, Range[nn+1]}]] (* Harvey P. Dale, Feb 19 2013 *)

A171626 Ceiling(n-th noncomposite/n).

Original entry on oeis.org

1, 1, 1, 2, 2, 2, 2, 3, 3, 3, 3, 3, 3, 3, 3, 3, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 5, 4, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5
Offset: 1

Views

Author

Jaroslav Krizek, Dec 13 2009

Keywords

Comments

Ceiling(A008578(n)/A000027(n)). Numerators of (A008578(n)/A000027(n)) in A171525(n), denominators of (A008578(n)/A000027(n)) in A171526(n).

Formula

a(n) = A171622(n) + 1 for n >= 4.

Extensions

Corrected by Jaroslav Krizek, Dec 16 2009
Showing 1-2 of 2 results.