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!)
A351192 Irregular table of positive integers read by rows; the n-th row contains a(n) 1's, a(n) 2's, ..., a(n) n's, in that order. 1
1, 1, 2, 1, 1, 2, 2, 3, 3, 1, 2, 3, 4, 1, 2, 3, 4, 5, 1, 1, 2, 2, 3, 3, 4, 4, 5, 5, 6, 6, 1, 1, 2, 2, 3, 3, 4, 4, 5, 5, 6, 6, 7, 7, 1, 1, 1, 2, 2, 2, 3, 3, 3, 4, 4, 4, 5, 5, 5, 6, 6, 6, 7, 7, 7, 8, 8, 8, 1, 1, 1, 2, 2, 2, 3, 3, 3, 4, 4, 4, 5, 5, 5, 6, 6, 6, 7, 7, 7, 8, 8, 8, 9, 9, 9 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,3
COMMENTS
This sequence is a variant of A128117.
The sequence is well defined:
- the first row must start with a value 1, so a(1) = 1, and the first row is (1),
- the second row must start with a value 1, so a(2) = 1, and the second row is (1, 2),
- subsequent rows are determined by terms in prior rows.
LINKS
Rémy Sigrist, Table of n, a(n) for n = 1..10256 (rows for n = 1..68 flattened)
EXAMPLE
The first terms and rows are:
n a(n) n-th row
-- ---- ----------------------------------------
1 1 1
2 1 1, 2
3 2 1, 1, 2, 2, 3, 3
4 1 1, 2, 3, 4
5 1 1, 2, 3, 4, 5
6 2 1, 1, 2, 2, 3, 3, 4, 4, 5, 5, 6, 6
7 2 1, 1, 2, 2, 3, 3, 4, 4, 5, 5, 6, 6, 7, 7
MAPLE
a:= proc() local k, l: k, l:= 3, [1$2, 2];
proc(n)
while nops(l)<n do
l, k:= [l[], seq(i$a(k), i=1..k)], k+1
od: l[n]
end
end():
seq(a(n), n=1..95); # Alois P. Heinz, Feb 13 2022
PROG
(PARI) a = vector(95, n, 1); m=0; for (n=1, 9, for (k=1, n, for (t=1, a[n], print1 (a[m++]=k", "))))
CROSSREFS
Sequence in context: A359384 A100480 A268811 * A306460 A317805 A231561
KEYWORD
nonn,look,tabf
AUTHOR
Rémy Sigrist, Feb 09 2022
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 April 19 09:23 EDT 2024. Contains 371782 sequences. (Running on oeis4.)