login
This site is supported by donations to The OEIS Foundation.
Logo

Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A073947 Number of strings over Z_3 of length n with trace 0 and subtrace 0. 5
1, 1, 3, 9, 21, 63, 225, 729, 2187, 6561, 19845, 59535, 177633, 531441, 1594323, 4782969, 14344533, 43033599, 129127041, 387420489 (list; graph; refs; listen; history; internal format)
OFFSET

1,3

COMMENTS

Same as number of strings over GF(3) of length n with trace 0 and subtrace 0.

LINKS

F. Ruskey, Strings over Z_3 of given Trace and Subtrace

F. Ruskey, Strings over GF(3) of given Trace and Subtrace

Index to sequences with linear recurrences with constant coefficients, signature (6,-15,27,-36,27).

FORMULA

a(n; t, s) = a(n-1; t, s) + a(n-1; t+2, s+2t+1) + a(n-1; t+1, s+t+1) where t is the trace and s is the subtrace.

G.f.: q*(21*q^4-21*q^3+12*q^2-5*q+1)/[(1-3q)(1+3q^2)(1-3q+3q^2)]. - Lawrence Sze, Oct 24 2004

EXAMPLE

a(3;0,0)=3 since the three ternary strings of trace 0, subtrace 0 and length 3 are { 000, 111, 222 }.

CROSSREFS

Cf. A073948, A073949, A073950, A073951, A073952.

Sequence in context: A147078 A146416 A004667 * A062811 A001470 A118932

Adjacent sequences:  A073944 A073945 A073946 * A073948 A073949 A073950

KEYWORD

easy,nonn

AUTHOR

Frank Ruskey, Nate Kube (ruskey(AT)cs.uvic.ca), Aug 15 2002

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Transforms | Puzzles | Hot | Classics
Recent Additions | More pages | Superseeker | Maintained by The OEIS Foundation Inc.

Content is available under The OEIS End-User License Agreement .

Last modified February 17 14:50 EST 2012. Contains 206050 sequences.