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!)
A110837 Number of ways to fold a strip of n stamps taking account of order and direction of folds. 1
1, 2, 8, 36, 176, 864, 4304, 21448, 107168, 535488, 2677088, 13383712, 66916832, 334575552, 1672869152, 8364302864, 41821471424, 209107142784, 1045535499584, 5227676426944, 26138381063744, 130691899964544, 653459494468544, 3267297445575296, 16336487201109056 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,2
LINKS
FORMULA
a(n) = 2 * Sum_{0<k<n} max{a(k), a(n-k)} starting with a(1)=1.
a(n) ~ 0.054816154756...*5^n.
EXAMPLE
a(3) = 8 since with an initial strip of three stamps there are two possible folding positions for the initial fold, each of which could be folded up or down, so there are four possible initial folds, each leaving one possible folding position which can be folded up or down, making eight possible folding patterns.
MAPLE
a:= proc(n) option remember; `if`(n=1, 1,
2*add(max(a(k), a(n-k)), k=1..n-1))
end:
seq(a(n), n=1..25); # Alois P. Heinz, Jan 08 2023
MATHEMATICA
a[n_] := a[n] = If[n==1, 1, 2*Sum[Max[a[k], a[n-k]], {k, 1, n-1}]];
Table[a[n], {n, 1, 25}] (* Jean-François Alcover, Jan 10 2023, after Alois P. Heinz *)
CROSSREFS
Sequence in context: A109980 A186338 A190862 * A372088 A166229 A109318
KEYWORD
nonn
AUTHOR
Henry Bottomley, Sep 16 2005
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 19 10:56 EDT 2024. Contains 371791 sequences. (Running on oeis4.)