[go: up one dir, main page]

login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

Revision History for A276852 (Bold, blue-underlined text is an addition; faded, red-underlined text is a deletion.)

newer changes | Showing entries 11-20 | older changes
Number of positive walks with n steps {-3,-2,-1,1,2,3} starting at the origin, ending at altitude 1, and staying strictly above the x-axis.
(history; published version)
#19 by Davin Park at Mon Oct 10 15:28:49 EDT 2016
MATHEMATICA

A276852[n_] := dp[n, 1, 3]; (* _Davin Park_, Oct 10 2016 *)

#18 by Davin Park at Mon Oct 10 15:25:58 EDT 2016
MATHEMATICA

dp[n_, k_, h_] = 0;

dp[1, k_, h_] := Boole[0 < k <= h];

dp[n_, k_, h_] /; n >= 2 && k > 0 := dp[n, k, h] = Sum[dp[n - 1, k - x, h], {x, h}] + Sum[dp[n - 1, k + x, h], {x, h}];

A276852[n_] := dp[n, 1, 3];

STATUS

approved

editing

#17 by Vaclav Kotesovec at Sat Sep 24 05:56:48 EDT 2016
STATUS

reviewed

approved

#16 by Joerg Arndt at Sat Sep 24 05:09:37 EDT 2016
STATUS

proposed

reviewed

#15 by Michel Marcus at Thu Sep 22 09:58:56 EDT 2016
STATUS

editing

proposed

#14 by Michel Marcus at Thu Sep 22 09:58:31 EDT 2016
CROSSREFS
KEYWORD

nonn,more,changed

STATUS

proposed

editing

Discussion
Thu Sep 22
09:58
Michel Marcus: To give better search results.
#13 by Omar E. Pol at Thu Sep 22 09:36:00 EDT 2016
STATUS

editing

proposed

#12 by Omar E. Pol at Thu Sep 22 09:35:55 EDT 2016
CROSSREFS
STATUS

proposed

editing

#11 by Omar E. Pol at Thu Sep 22 09:28:15 EDT 2016
STATUS

editing

proposed

#10 by Omar E. Pol at Thu Sep 22 09:26:57 EDT 2016
NAME

Number of positive walks with n steps {-3,-2,-1,1,2,3} starting at the origin, ending at altitude 1, and staying strictly above the x-axis.

STATUS

proposed

editing