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.

A055224 a(1) = 1, a(n) = number of a(k) with 1 <= k <= n-1 such that a(k) divides a(n-k).

Original entry on oeis.org

1, 1, 2, 2, 2, 3, 4, 5, 4, 4, 3, 5, 4, 5, 3, 6, 7, 4, 5, 8, 6, 9, 6, 5, 6, 9, 10, 8, 5, 6, 10, 9, 8, 6, 6, 10, 11, 12, 9, 8, 13, 5, 11, 8, 8, 11, 6, 15, 7, 14, 11, 5, 13, 13, 10, 10, 5, 13, 8, 14, 10, 7, 12, 13, 13, 12, 8, 11, 12, 9, 12, 14, 12, 8, 8, 15, 15, 12, 14, 12, 14, 15, 13, 19, 15, 12
Offset: 1

Views

Author

Leroy Quet, Jun 20 2000

Keywords

Examples

			a(10) = 4 because a(1)|a(9), a(2)|a(8), a(3)|a(7), a(5)|a(5).
		

Programs

  • PARI
    a = vector(86); for (n=1, #a, a[n] = if (n==1, 1, sum(k=1, n-1, a[n-k]%a[k]==0)); print1 (a[n] ", ")) \\ Rémy Sigrist, Jul 27 2018

Extensions

More terms from James Sellers, Jul 04 2000