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”).

A278164
Irregular triangle read by rows: row n (n >= 0) is obtained by listing numbers 0 .. A000123(n)-1.
3
0, 0, 1, 0, 1, 2, 3, 0, 1, 2, 3, 4, 5, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12
OFFSET
1,6
LINKS
FORMULA
a(1) = 0; for n > 1, a(n) = n - A131205(A278163(n)) - 1.
EXAMPLE
A000123 -> range -> terms on row n
1 [0,0]: 0;
2 [0,1]: 0, 1;
4 [0,3]: 0, 1, 2, 3;
6 [0,5]: 0, 1, 2, 3, 4, 5;
10 [0,9]: 0, 1, 2, 3, 4, 5, 6, 7, 8, 9;
etc.
PROG
(Scheme) (define (A278164 n) (if (= 1 n) 0 (- n (A131205 (A278163 n)) 1)))
CROSSREFS
Obtained by taking the every second row of similar table A277904.
Sequence in context: A049263 A014588 A293497 * A328480 A279681 A053645
KEYWORD
nonn,tabf
AUTHOR
Antti Karttunen, Nov 15 2016
STATUS
approved