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!)
A237449 a(n) = n - A236855(n). 5
0, 0, 1, 1, 1, 4, 4, 5, 5, 5, 7, 7, 7, 7, 13, 13, 14, 14, 14, 17, 17, 18, 18, 18, 20, 20, 20, 20, 25, 25, 26, 26, 26, 28, 28, 28, 28, 31, 31, 31, 31, 31, 41, 41, 42, 42, 42, 45, 45, 46, 46, 46, 48, 48, 48, 48, 54, 54, 55, 55, 55, 58, 58, 59, 59, 59, 61, 61, 61, 61 (list; graph; refs; listen; history; text; internal format)
OFFSET
0,6
LINKS
FORMULA
a(n) = n - A236855(n).
MATHEMATICA
A236855list[m_] := With[{r = 2*Range[2, m]-1}, Reverse[Map[Total[r-#] &, Select[Subsets[Range[2, 2*m-1], {m-1}], Min[r-#] >= 0 &]]]];
With[{m = 6}, Range[0, CatalanNumber[m]-1] - A236855list[m]] (* Generates C(m) terms *) (* Paolo Xausa, Feb 20 2024 *)
PROG
(Scheme) (define (A237449 n) (- n (A236855 n)))
CROSSREFS
Sequence in context: A140341 A332609 A244234 * A003869 A065864 A120205
KEYWORD
nonn
AUTHOR
Antti Karttunen, Apr 18 2014
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 23 05:09 EDT 2024. Contains 371906 sequences. (Running on oeis4.)