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!)
A269538 Number of length-4 0..n arrays with no repeated value differing from the previous repeated value by other than one. 1
10, 64, 222, 568, 1210, 2280, 3934, 6352, 9738, 14320, 20350, 28104, 37882, 50008, 64830, 82720, 104074, 129312, 158878, 193240, 232890, 278344, 330142, 388848, 455050, 529360, 612414, 704872, 807418, 920760, 1045630, 1182784, 1333002 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
LINKS
FORMULA
Empirical: a(n) = n^4 + 4*n^3 + 3*n^2 + 2*n.
Conjectures from Colin Barker, Jan 24 2019: (Start)
G.f.: 2*x*(1 + x)*(5 + 2*x - x^2) / (1 - x)^5.
a(n) = 5*a(n-1) - 10*a(n-2) + 10*a(n-3) - 5*a(n-4) + a(n-5) for n>5.
(End)
EXAMPLE
Some solutions for n=3:
..3. .0. .1. .3. .2. .3. .2. .1. .2. .1. .1. .0. .1. .1. .3. .3
..1. .3. .3. .3. .1. .0. .0. .3. .2. .2. .2. .2. .2. .1. .3. .1
..3. .2. .0. .2. .2. .1. .1. .1. .3. .3. .0. .2. .0. .3. .0. .3
..1. .3. .0. .0. .3. .0. .3. .0. .0. .3. .2. .1. .0. .0. .1. .2
CROSSREFS
Row 4 of A269537.
Sequence in context: A162473 A138661 A341681 * A178256 A036426 A245068
KEYWORD
nonn
AUTHOR
R. H. Hardin, Feb 29 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 | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified April 23 16:28 EDT 2024. Contains 371916 sequences. (Running on oeis4.)