login
A206245
Number of partitions of n into repunit powers, cf. A083278.
4
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,12
COMMENTS
a(n) = A206244(n) for n <= 120, a(n) > A206244(n) for n > 120.
LINKS
Eric Weisstein's World of Mathematics, Repunit
Wikipedia, Repunit
PROG
(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
CROSSREFS
KEYWORD
nonn
AUTHOR
Reinhard Zumkeller, Feb 05 2012
STATUS
approved