The OEIS mourns the passing of Jim Simons and is grateful to the Simons Foundation for its support of research in many branches of science, including the OEIS.
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!)
A268948 Number of length-7 0..n arrays with no repeated value unequal to the previous repeated value plus one mod n+1. 1
30, 969, 9684, 54045, 213042, 667065, 1773384, 4171869, 8925990, 17704137, 33006300, 58441149, 99058554, 161742585, 255670032, 392839485, 588676014, 862716489, 1239380580, 1748832477, 2427938370, 3321324729, 4482542424 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
LINKS
FORMULA
Empirical: a(n) = n^7 + 7*n^6 + 6*n^5 + 10*n^4 + 4*n^3 + n^2 + 4*n - 3.
Conjectures from Colin Barker, Jan 17 2019: (Start)
G.f.: 3*x*(10 + 243*x + 924*x^2 + 675*x^3 - 110*x^4 - 55*x^5 - 8*x^6 + x^7) / (1 - x)^8.
a(n) = 8*a(n-1) - 28*a(n-2) + 56*a(n-3) - 70*a(n-4) + 56*a(n-5) - 28*a(n-6) + 8*a(n-7) - a(n-8) for n>8.
(End)
EXAMPLE
Some solutions for n=4:
..4. .2. .4. .3. .1. .1. .2. .0. .1. .4. .4. .2. .4. .2. .3. .3
..1. .0. .0. .1. .3. .0. .0. .1. .3. .4. .0. .3. .3. .2. .0. .4
..3. .4. .2. .3. .2. .3. .4. .0. .2. .1. .2. .3. .3. .0. .3. .0
..0. .4. .0. .0. .1. .2. .2. .4. .4. .4. .4. .2. .4. .3. .1. .0
..4. .0. .3. .2. .1. .3. .3. .0. .1. .0. .2. .3. .2. .0. .0. .1
..3. .1. .1. .3. .4. .1. .1. .0. .2. .2. .4. .4. .0. .3. .2. .4
..1. .4. .2. .1. .2. .1. .2. .3. .4. .4. .2. .1. .2. .4. .3. .1
CROSSREFS
Row 7 of A268944.
Sequence in context: A144350 A111216 A158672 * A276396 A291070 A004994
KEYWORD
nonn
AUTHOR
R. H. Hardin, Feb 16 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 14 20:17 EDT 2024. Contains 372533 sequences. (Running on oeis4.)