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!)
A068777 S(n; 0,3) = S(n; 2,1) where S(n; t,s) is the number of length n 4-ary strings whose digits sum to t mod 4 and whose sum of products of all pairs of digits sum to s mod 4. 9
0, 2, 6, 24, 80, 240, 896, 3584, 15360, 65792, 270336, 1081344, 4259840, 16773120, 66584576, 266338304, 1069547520, 4295032832, 17213423616, 68853694464, 275146342400, 1099510579200, 4395899027456, 17583596109824, 70351564308480, 281474993487872 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,2
LINKS
FORMULA
S(n; t, s) = S(n-1; t, s) + S(n-1; t+3, s+3t+1) + S(n-1; t+2, s+2t) + S(n-1; t+1, s+t+1).
Empirical g.f.: 2*x^2*(16*x^5-8*x^4+16*x^3-12*x^2+5*x-1) / ((4*x-1)*(8*x^2-4*x+1)*(16*x^4+1)). - Colin Barker, Dec 06 2014
CROSSREFS
Sequence in context: A002526 A324373 A117665 * A275206 A095110 A364819
KEYWORD
nonn,base
AUTHOR
Frank Ruskey, Mar 29 2002
EXTENSIONS
Terms a(11) onward from Max Alekseyev, Apr 09 2013
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 24 05:36 EDT 2024. Contains 371918 sequences. (Running on oeis4.)