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.

A134743 First differences of A134736.

Original entry on oeis.org

1, 3, 1, 5, 3, 1, 1, 1, 1, 11, 3, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 23, 3, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 47, 3, 1, 5, 3, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 101, 3, 1, 1
Offset: 1

Views

Author

N. J. A. Sloane, Jan 28 2008

Keywords

References

  • Eric S. Rowland, A simple prime-generating recurrence, Abstracts Amer. Math. Soc., 29 (No. 1, 2008), p. 50 (Abstract 1035-11-986).

Crossrefs

See A106108 for other cross-references.

Programs

  • Haskell
    a134743 n = a134743_list !! (n-1)
    a134743_list = zipWith (-) (tail a134736_list) a134736_list
    -- Reinhard Zumkeller, Nov 15 2013
  • Mathematica
    b[1] = 5; b[n_] := b[n] = b[n-1] + GCD[n, b[n-1]];
    Array[b, 104] // Differences (* Jean-François Alcover, Oct 01 2018 *)

Formula

a(n) = A132199(n), n>2. [R. J. Mathar, Dec 13 2008]