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!)
A220659 Irregular table: row n (n >= 1) consists of numbers 0..A084558(n). 5
0, 0, 1, 0, 1, 2, 0, 1, 2, 0, 1, 2, 0, 1, 2, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3 (list; graph; refs; listen; history; text; internal format)
OFFSET

0,6

COMMENTS

The term a(n) gives the position (zero-based, starting from the left hand end of permutation) of a corresponding permutation A055089 and A060117/A060118 from which the term A055089(n) or A060118(n) is to be picked.

LINKS

A. Karttunen, Rows 0..720 of the irregular table, flattened.

FORMULA

a(n) = n - A220657(A220658(n)).

EXAMPLE

Rows of this irregular table begin as:

0;

0, 1;

0, 1, 2;

0, 1, 2;

0, 1, 2;

0, 1, 2;

0, 1, 2, 3;

The term 2 occurs four times in A084558, in positions 2, 3, 4 and 5. Thus rows 2, 3, 4 and 5 (zero-based) of this irregular table are all 0,1,2.

PROG

(Scheme): (define (A220659 n) (- n (A220657 (A220658 n))))

CROSSREFS

Sequence in context: A308009 A010872 A220663 * A025858 A237451 A215592

Adjacent sequences:  A220656 A220657 A220658 * A220660 A220661 A220662

KEYWORD

nonn,tabf

AUTHOR

Antti Karttunen, Dec 18 2012

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 August 10 16:24 EDT 2022. Contains 356039 sequences. (Running on oeis4.)