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!)
A259452 Number of 5 up, 5 down, 5 up, ... permutations of length 5n+1. 1
1, 1, 252, 578005, 6190034016, 214265281290061, 19157603395806362772, 3800502511986185228829385, 1498722661993096106927612109936, 1081056808393919319749313795137642521, 1336319624105519211256870506149168604698792 (list; graph; refs; listen; history; text; internal format)
OFFSET
0,3
REFERENCES
P. R. Stein, personal communication.
LINKS
P. R. Stein & N. J. A. Sloane, Correspondence, 1975
MAPLE
b:= proc(u, o, t) option remember; `if`(u+o=0, 1, add(`if`(
t=5, b(o-j, u+j-1, 1), b(u+j-1, o-j, t+1)), j=1..o))
end:
a:= n-> b(0, 5*n+1, 0):
seq(a(n), n=0..10); # Alois P. Heinz, Jul 02 2015
MATHEMATICA
k = 5; b[u_, o_, t_] := b[u, o, t] = If[u + o == 0, 1, Sum[If[t == k, b[o - j, u + j - 1, 1], b[u + j - 1, o - j, t + 1]], {j, 1, o}]]; Array[b[0, k # + 1, 0] &, 10] (* Michael De Vlieger, Oct 15 2017, after Jean-François Alcover at A005983 *)
CROSSREFS
Sequence in context: A295441 A362170 A203062 * A177302 A177303 A014609
KEYWORD
nonn
AUTHOR
N. J. A. Sloane, Jun 28 2015
EXTENSIONS
More terms from Alois P. Heinz, Jul 02 2015
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 25 07:41 EDT 2024. Contains 371964 sequences. (Running on oeis4.)