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.

A010783 Triangle of numbers floor(n/(n-k)).

Original entry on oeis.org

1, 1, 2, 1, 1, 3, 1, 1, 2, 4, 1, 1, 1, 2, 5, 1, 1, 1, 2, 3, 6, 1, 1, 1, 1, 2, 3, 7, 1, 1, 1, 1, 2, 2, 4, 8, 1, 1, 1, 1, 1, 2, 3, 4, 9, 1, 1, 1, 1, 1, 2, 2, 3, 5, 10, 1, 1, 1, 1, 1, 1, 2, 2, 3, 5, 11, 1, 1, 1, 1, 1, 1, 2, 2, 3, 4, 6, 12
Offset: 1

Views

Author

Keywords

Crossrefs

Cf. A010766 (mirrored).

Programs

  • Haskell
    a010783 n k = (n + 1 - k) `div` k
    a010783_row n = a010783_tabl !! (n-1)
    a010783_tabl = map reverse a010766_tabl
    -- Reinhard Zumkeller, Apr 29 2015
  • Maple
    T:= (n,k)-> floor(n/(n-k)):
    seq (seq (T(n, k), k=0..n-1), n=1..15); # Alois P. Heinz, Jul 15 2011