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!)
A302405 Total domination number of the n-prism graph. 4
0, 1, 2, 2, 4, 4, 4, 5, 6, 6, 8, 8, 8, 9, 10, 10, 12, 12, 12, 13, 14, 14, 16, 16, 16, 17, 18, 18, 20, 20, 20, 21, 22, 22, 24, 24, 24, 25, 26, 26, 28, 28, 28, 29, 30, 30, 32, 32, 32, 33, 34, 34, 36, 36, 36, 37, 38, 38, 40, 40, 40, 41, 42, 42, 44, 44, 44, 45, 46, 46, 48 (list; graph; refs; listen; history; text; internal format)
OFFSET
0,3
COMMENTS
Extended to a(0)-a(2) using the formula/recurrence.
LINKS
Eric Weisstein's World of Mathematics, Prism Graph
Eric Weisstein's World of Mathematics, Total Domination Number
FORMULA
a(n) = a(n-1) + a(n-6) - a(n-7).
G.f.: x*(1 + x + 2*x^3)/((1 - x)^2*(1 + x + x^2 + x^3 + x^4 + x^5)).
a(n) = a(n-6) + 4. - Andrew Howroyd, Apr 17 2018
MATHEMATICA
Table[(3 + (-1)^n + 4 n - Cos[n Pi/3] - 3 Cos[2 n Pi/3] - Sqrt[3] Sin[n Pi/3] + Sin[2 n Pi/3]/Sqrt[3])/6, {n, 0, 50}]
LinearRecurrence[{1, 0, 0, 0, 0, 1, -1}, {1, 2, 2, 4, 4, 4, 5, 6}, {0, 50}]
CoefficientList[Series[x (1 + x + 2 x^3)/((-1 + x)^2 (1 + x + x^2 + x^3 + x^4 + x^5)), {x, 0, 50}], x]
PROG
(PARI) x='x+O('x^50); concat(0, Vec(x*(1+x+2*x^3)/((1-x)^2*(1+x+ x^2+x^3+ x^4+x^5)))) \\ G. C. Greubel, Apr 09 2018
(Magma) I:=[1, 2, 2, 4, 4, 4, 5, 6]; [0] cat [n le 7 select I[n] else Self(n-1) + Self(n-6) - Self(n-7): n in [1..30]]; // G. C. Greubel, Apr 09 2018
CROSSREFS
Sequence in context: A090557 A230875 A035660 * A115367 A084841 A144202
KEYWORD
nonn,easy
AUTHOR
Eric W. Weisstein, Apr 07 2018
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 14:54 EDT 2024. Contains 371960 sequences. (Running on oeis4.)