login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A014420 Minimal number of Catalan numbers that sum to n. 13
0, 1, 1, 2, 2, 1, 2, 2, 3, 3, 2, 3, 3, 4, 1, 2, 2, 3, 3, 2, 3, 3, 4, 4, 3, 4, 4, 5, 2, 3, 3, 4, 4, 3, 4, 4, 5, 5, 4, 5, 5, 6, 1, 2, 2, 3, 3, 2, 3, 3, 4, 4, 3, 4, 4, 5, 2, 3, 3, 4, 4, 3, 4, 4, 5, 5, 4, 5, 5, 6, 3, 4, 4, 5, 5, 4, 5, 5, 6, 6, 5, 6, 6, 7, 2, 3, 3, 4, 4, 3, 4, 4, 5, 5, 4, 5, 5, 6, 3 (list; graph; refs; listen; history; text; internal format)
OFFSET
0,4
LINKS
Olivier Gérard (first 1001 terms) & Antti Karttunen, Table of n, a(n) for n = 0..16796
FORMULA
a(0) = 0, a(n) = 1 + a(n-A081290(n)). - Antti Karttunen, Jul 02 2014
PROG
(Scheme, with memoization macro definec from Antti Karttunen's IntSeq-library)
(definec (A014420 n) (if (zero? n) n (+ 1 (A014420 (- n (A081290 n))))))
;; Other version, requiring A014418raw given in A014418:
(define (A014420 n) (apply + (A014418raw n)))
;; Antti Karttunen, Jul 02 2014
CROSSREFS
Sequence in context: A265744 A331083 A245588 * A029289 A181834 A194848
KEYWORD
nonn,easy
AUTHOR
STATUS
approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified April 25 10:22 EDT 2024. Contains 371967 sequences. (Running on oeis4.)