login
This site is supported by donations to The OEIS Foundation.

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A277904 Irregular table: row n (n >= 0) is obtained by listing numbers 0 .. A018819(n)-1. 4
0, 0, 0, 1, 0, 1, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 4, 5, 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, 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, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19 (list; graph; refs; listen; history; text; internal format)
OFFSET

1,9

LINKS

Antti Karttunen, Table of n, a(n) for n = 1..9828

FORMULA

a(1) = 0; for n > 1, a(n) = n - A000123(A277903(n)-1) - 1.

EXAMPLE

A018819 -> range -> terms on row n

  1        [0,0]:    0;

  1        [0,0]:    0;

  2        [0,1]:    0, 1;

  2        [0,1]:    0, 1;

  4        [0,3]:    0, 1, 2, 3;

  4        [0,3]:    0, 1, 2, 3;

  6        [0,5]:    0, 1, 2, 3, 4, 5;

etc.

PROG

(Scheme) (define (A277904 n) (if (= 1 n) 0 (- n (A000123 (+ -1 (A277903 n))) 1)))

CROSSREFS

Cf. A000123, A018819, A277903.

Used for constructing A277905.

Retaining only every second row gives A278164.

Sequence in context: A189480 A010873 A049804 * A132387 A309954 A124757

Adjacent sequences:  A277901 A277902 A277903 * A277905 A277906 A277907

KEYWORD

nonn,tabf

AUTHOR

Antti Karttunen, Nov 14 2016

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 October 20 22:05 EDT 2019. Contains 328291 sequences. (Running on oeis4.)