login
The OEIS Foundation is supported by donations from users of the OEIS and by a grant from the Simons Foundation.

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A334081 If the terms of this sequence are divided into groups, the lengths of which are the terms of this sequence, the k-th term in a group is one greater than the k-th term in the previous group with at least k terms or 1 if no such group exists. 1
1, 2, 1, 3, 4, 2, 1, 5, 3, 2, 1, 6, 4, 7, 8, 5, 3, 2, 1, 9, 6, 4, 10, 7, 11, 12, 8, 5, 3, 2, 1, 13, 9, 6, 4, 14, 10, 7, 5, 3, 2, 1, 15, 11, 8, 6, 4, 3, 2, 1, 16, 12, 9, 7, 5, 17, 13, 10, 18, 14, 19, 20, 15, 11, 8, 6, 4, 3, 2, 1, 21, 16, 12, 9, 7, 5, 22, 17, 13, 10, 23, 18, 14, 11, 8, 6, 4, 3, 2, 1 (list; graph; refs; listen; history; text; internal format)
OFFSET

1,2

LINKS

Samuel B. Reid, Table of n, a(n) for n = 1..10000

Samuel B. Reid, Python program for A334081

EXAMPLE

--------------------

n  a(n)  n-th Group

--------------------

1  1     [1]

2  2     [2,1]

3  1     [3]

4  3     [4,2,1]

5  4     [5,3,2,1]

6  2     [6,4]

7  1     [7]

8  5     [8,5,3,2,1]

9  3     [9,6,4]

PROG

(Python) See Links section.

CROSSREFS

Cf. A000002, A332864.

Sequence in context: A004741 A133923 A341231 * A125158 A273823 A112384

Adjacent sequences:  A334078 A334079 A334080 * A334082 A334083 A334084

KEYWORD

nonn,look,tabf

AUTHOR

Samuel B. Reid, Apr 14 2020

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 March 6 02:27 EST 2021. Contains 341840 sequences. (Running on oeis4.)