login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A244218
The ending points of runs of consecutive terms with the same parity in A014418 (n represented in Greedy Catalan Base).
3
0, 1, 2, 3, 5, 6, 7, 8, 10, 11, 12, 13, 14, 15, 16, 17, 19, 20, 21, 22, 24, 25, 26, 27, 28, 29, 30, 31, 33, 34, 35, 36, 38, 39, 40, 41, 42, 43, 44, 45, 47, 48, 49, 50, 52, 53, 54, 55, 56, 57, 58, 59, 61, 62, 63, 64, 66, 67, 68, 69, 70, 71, 72, 73, 75, 76, 77, 78, 80, 81
OFFSET
0,3
COMMENTS
The ending points of runs in A244220 and A244221.
Positions where A014418(n+1) <> A014418(n) modulo 2. (Same is true for A244161).
LINKS
FORMULA
a(0) = 0, a(n) = A244226(n) + A244218(n-1).
PROG
(Scheme, with Antti Karttunen's IntSeq-library, two alternative definitions)
(definec (A244218 n) (if (zero? n) 0 (+ (A244226 n) (A244218 (- n 1)))))
(define A244218 (NONZERO-POS 0 0 (lambda (n) (modulo (- (A014418 (+ n 1)) (A014418 n)) 2))))
CROSSREFS
Cf. A014418, A244161, A244220, A244221, A244219 (gives the corresponding starting points).
Partial sums of A244226.
Sequence in context: A171519 A072099 A046841 * A164514 A000037 A028761
KEYWORD
nonn
AUTHOR
Antti Karttunen, Jun 23 2014
STATUS
approved

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy