login
The OEIS Foundation is supported by donations from users of the OEIS and by a grant from the Simons Foundation.

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A014420 Minimal number of Catalan numbers that sum to n. 9
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

Cf. A014418, A081290, A244320, A244318, A244232, A236855, A236859.

Sequence in context: A265744 A331083 A245588 * A029289 A181834 A194848

Adjacent sequences:  A014417 A014418 A014419 * A014421 A014422 A014423

KEYWORD

nonn,easy

AUTHOR

Olivier Gérard

STATUS

approved

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

License Agreements, Terms of Use, Privacy Policy. .

Last modified August 8 14:04 EDT 2020. Contains 336298 sequences. (Running on oeis4.)