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!)
A257061 Number of length n 1..(7+1) arrays with every leading partial sum divisible by 2 or 3. 1
5, 27, 141, 738, 3866, 20249, 106056, 555483, 2909419, 15238479, 79813616, 418034724, 2189514005, 11467878868, 60064583029, 314596463387, 1647741976789, 8630273820766, 45202238742834, 236752903766237, 1240025693431636 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
LINKS
FORMULA
Empirical: a(n) = 4*a(n-1) + 5*a(n-2) + 7*a(n-3) + 4*a(n-4).
Empirical g.f.: x*(5 + 7*x + 8*x^2 + 4*x^3) / (1 - 4*x - 5*x^2 - 7*x^3 - 4*x^4). - Colin Barker, Dec 20 2018
EXAMPLE
Some solutions for n=4:
..4....6....4....8....3....6....6....6....2....2....2....3....4....4....3....3
..8....8....6....8....5....2....8....3....2....1....7....3....8....2....7....5
..4....1....5....6....8....4....2....1....4....7....6....8....6....6....5....8
..6....1....7....5....2....3....4....4....6....4....1....1....3....3....1....4
CROSSREFS
Column 7 of A257062.
Sequence in context: A084177 A037675 A221673 * A052225 A293295 A343208
KEYWORD
nonn
AUTHOR
R. H. Hardin, Apr 15 2015
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 June 5 14:50 EDT 2024. Contains 373107 sequences. (Running on oeis4.)