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!)
A269608 Number of length-5 0..n arrays with no repeated value differing from the previous repeated value by one or less. 1
10, 154, 804, 2692, 7030, 15630, 31024, 56584, 96642, 156610, 243100, 364044, 528814, 748342, 1035240, 1403920, 1870714, 2453994, 3174292, 4054420, 5119590, 6397534, 7918624, 9715992, 11825650, 14286610, 17141004, 20434204, 24214942 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
LINKS
FORMULA
Empirical: a(n) = n^5 + 5*n^4 + 7*n^3 - 4*n^2 + n.
Conjectures from Colin Barker, Jan 25 2019: (Start)
G.f.: 2*x*(5 + 47*x + 15*x^2 - 11*x^3 + 4*x^4) / (1 - x)^6.
a(n) = 6*a(n-1) - 15*a(n-2) + 20*a(n-3) - 15*a(n-4) + 6*a(n-5) - a(n-6) for n>6.
(End)
EXAMPLE
Some solutions for n=7:
..2. .3. .4. .7. .7. .4. .6. .7. .1. .2. .6. .4. .1. .2. .4. .5
..6. .2. .7. .5. .3. .3. .4. .7. .4. .1. .0. .6. .5. .4. .2. .6
..1. .5. .1. .4. .6. .1. .5. .5. .2. .0. .7. .4. .3. .0. .0. .1
..4. .0. .7. .2. .4. .4. .4. .1. .7. .6. .1. .4. .6. .4. .4. .7
..7. .3. .5. .5. .4. .7. .3. .3. .2. .2. .1. .2. .6. .1. .2. .0
CROSSREFS
Row 5 of A269606.
Sequence in context: A307352 A345348 A349490 * A240196 A048907 A061654
KEYWORD
nonn
AUTHOR
R. H. Hardin, Mar 01 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 May 1 20:04 EDT 2024. Contains 372176 sequences. (Running on oeis4.)