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!)
A355883 Number of ways to 5-color a 3 X n grid ignoring the variations of two colors. 2
4, 169, 7141, 301741, 12749989, 538747549, 22764640981, 961914128461, 40645437426949, 1717462645311229, 72570948297479221, 3066467006530462381, 129572785291363217509, 5475065165353811151709, 231347489347123368595861, 9775529461439509493215501 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
COMMENTS
See A355881 for a general formula.
LINKS
FORMULA
a(n) = A222139(n)/4.
G.f.: x*(4-11*x)/(1-45*x+116*x^2).
a(n) = 45*a(n-1) - 116*a(n-2) with a(1) = 4, a(2) = 169.
a(n) = 2^(-3-n)*((45 - sqrt(1561))^n*(11*sqrt(1561) - 433) + (45 + sqrt(1561))^n*(11*sqrt(1561) + 433))/(29*sqrt(1561)). - Stefano Spezia, Jul 24 2022
EXAMPLE
a(1)=4, 5 colors 1,2,3,4,5: 121, 123, 124, 125.
The first two colors do not vary.
CROSSREFS
Sequence in context: A051476 A283566 A221083 * A181191 A306402 A057140
KEYWORD
nonn,easy
AUTHOR
Gerhard Kirchner, Jul 24 2022
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 23 09:59 EDT 2024. Contains 372760 sequences. (Running on oeis4.)