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!)
A236678 Partial sums of the characteristic function of A079599. 3
1, 1, 2, 2, 2, 2, 2, 2, 3, 3, 4, 4, 4, 4, 4, 4, 5, 5, 6, 6, 6, 6, 6, 6, 7, 7, 8, 8, 8, 8, 8, 8, 9, 9, 10, 10, 10, 10, 10, 10, 11, 11, 12, 12, 12, 12, 12, 12, 13, 13, 14, 14, 14, 14, 14, 14, 15, 15, 16, 16, 16, 16, 16, 16, 17, 17, 18, 18, 18, 18, 18, 18, 19, 19 (list; graph; refs; listen; history; text; internal format)
OFFSET
0,3
COMMENTS
This works also as almost an inverse function for A079599, as we have a(A079599(n)) = n+1 for all n.
LINKS
FORMULA
a(0) = 1, and for n > 0, a(n) = a(n-1) + A236677(n).
PROG
(Scheme, with _Antti_Karttunen_'s IntSeq-library for memoizing definec-macro)
(definec (A236678 n) (if (zero? n) 1 (+ (A236678 (- n 1)) (A236677 n))))
CROSSREFS
Not the same as A173711(n+6). First difference occurs at a(256), when 64 occurs here for the seventh time.
Sequence in context: A072114 A090621 A173711 * A029378 A053278 A035466
KEYWORD
nonn
AUTHOR
Antti Karttunen, Jan 29 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 24 20:08 EDT 2024. Contains 371963 sequences. (Running on oeis4.)