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

 

Logo

Annual Appeal: Please make a donation to keep the OEIS running. In 2018 we replaced the server with a faster one, added 20000 new sequences, and reached 7000 citations (often saying "discovered thanks to the OEIS").
Other ways to donate

Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A152936 A vector recursion designed around a row sum of A000165: v(n)=if[odd,{1.n,n^2,...,2^n*n!-Sum2^m,{m,0,n/2-1}],2^n*n!-Sum2^m,{m,0,n/2-1}],...n^2.n,1},{1.n,n^2,...,2^n*n!-2Sum2^m,{m,0,n/2-1}],...n^2.n,1}]. 0
1, 1, 1, 1, 6, 1, 1, 23, 23, 1, 1, 4, 374, 4, 1, 1, 5, 1914, 1914, 5, 1, 1, 6, 36, 45994, 36, 6, 1, 1, 7, 49, 322503, 322503, 49, 7, 1, 1, 8, 64, 512, 10320750, 512, 64, 8, 1, 1, 9, 81, 729, 92896460, 92896460, 729, 81, 9, 1, 1, 10, 100, 1000, 10000, 3715868978, 10000 (list; table; graph; refs; listen; history; text; internal format)
OFFSET

0,5

COMMENTS

Row sums are:

{1, 2, 8, 48, 384, 3840, 46080, 645120, 10321920, 185794560, 3715891200,...}

LINKS

Table of n, a(n) for n=0..61.

FORMULA

v(n)=if[odd,{1.n,n^2,...,2^n*n!-Sum2^m,{m,0,n/2-1}],2^n*n!-Sum2^m,{m,0,n/2-1}],...n^2.n,1},

{1.n,n^2,...,2^n*n!-2Sum2^m,{m,0,n/2-1}],...n^2.n,1}].

EXAMPLE

{1},

{1, 1},

{1, 6, 1},

{1, 23, 23, 1},

{1, 4, 374, 4, 1},

{1, 5, 1914, 1914, 5, 1},

{1, 6, 36, 45994, 36, 6, 1},

{1, 7, 49, 322503, 322503, 49, 7, 1},

{1, 8, 64, 512, 10320750, 512, 64, 8, 1},

{1, 9, 81, 729, 92896460, 92896460, 729, 81, 9, 1},

{1, 10, 100, 1000, 10000, 3715868978, 10000, 1000, 100, 10, 1}

MATHEMATICA

Clear[v, n]; v[0] = {1}; v[1] = {1, 1}; v[n_] := v[n] = If[Mod[n, 2] == 0, Join[Table[ n^m, {m, 0, Floor[n/2] - 1}], {2^n*n! - 2*Sum[ n^m, {m, 0, Floor[n/2] - 1}]}, Table[ n^m, {m, Floor[n/2] - 1, 0, -1}]],

Join[Table[ n^m, {m, 0, Floor[n/2] - 1}], {2^n*n!/2 - Sum[ n^m, {m, 0, Floor[n/2] - 1}], 2^n*n!/2 - Sum[ n^m, {m, 0, Floor[n/2] - 1}]}, Table[ n^m, {m, Floor[n/2] - 1, 0, -1}]]]'

Table[v[n], {n, 0, 10}];

Flatten[%]

CROSSREFS

A060187, A000167

Sequence in context: A142596 A176063 A155467 * A152969 A138076 A060187

Adjacent sequences:  A152933 A152934 A152935 * A152937 A152938 A152939

KEYWORD

nonn,tabl

AUTHOR

Roger L. Bagula, Dec 15 2008

STATUS

approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recent
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified December 18 18:34 EST 2018. Contains 318243 sequences. (Running on oeis4.)