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!)
A129773 Each row is a finite sequence of N terms a0, a1, ..., ai, ..., an which satisfies the conditions written in the following array: "In this array, there are a0 times the number 0, there are a1 times the number 1, ..., there are ai times the number i, ..., there are an times the number n". 0
1, 2, 3, 2, 1, 4, 3, 2, 2, 1, 1, 1, 5, 3, 2, 1, 2, 1, 1, 1, 6, 3, 2, 1, 1, 2, 1, 1, 1, 7, 3, 2, 1, 1, 1, 2, 1, 1 (list; graph; refs; listen; history; text; internal format)
OFFSET
3,2
COMMENTS
In the generating array as above, the total of the first column of numbers is 2+2*n, the total of the second column is n*(n+1)/2, the total of all the numbers is (n+1)*(n+4)/2 and is equal to the sum of all the products i*ai. These properties are useful to get a fast computation.
LINKS
FORMULA
For n<6, there exists only one sequence of 4 terms (n=3) (1,2,3,2).
For n>=6 there is always a sequence with a0=1 a1=n-2 a2=3 a3=2 a(n-2)=2, and all others ai=1.
EXAMPLE
In this array there is once the number 0,
there are 2 times the number 1,
there are 3 times the number 2,
there are 2 times the number 3,
so the first row is 1,2,3,2.
CROSSREFS
Sequence in context: A118457 A319247 A343180 * A105789 A259579 A076549
KEYWORD
fini,nonn,uned
AUTHOR
Philippe LALLOUET (philip.lallouet(AT)wanadoo.fr), Jun 08 2007
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 July 10 06:30 EDT 2024. Contains 374197 sequences. (Running on oeis4.)