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.

A206245 Number of partitions of n into repunit powers, cf. A083278.

Original entry on oeis.org

1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 8, 8, 8, 8, 8, 8, 8, 8, 8
Offset: 0

Views

Author

Reinhard Zumkeller, Feb 05 2012

Keywords

Comments

a(n) = A206244(n) for n <= 120, a(n) > A206244(n) for n > 120.

Crossrefs

Programs

  • Haskell
    a206245 = p a083278_list where
       p _      0 = 1
       p rps'@(rp:rps) n = if n < rp then 0 else p rps' (n - rp) + p rps n