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

Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A005686 Number of Twopins positions.
(Formerly M0267)
2
0, 1, 1, 1, 1, 1, 2, 2, 3, 3, 4, 5, 6, 8, 9, 12, 14, 18, 22, 27, 34, 41, 52, 63, 79, 97, 120, 149, 183, 228, 280, 348, 429, 531, 657, 811, 1005, 1240, 1536, 1897, 2347, 2902, 3587, 4438, 5484, 6785, 8386, 10372, 12824, 15856, 19609, 24242, 29981, 37066, 45837 (list; graph; refs; listen; history; internal format)
OFFSET

0,7

COMMENTS

Appears to be the pairwise sums of A001687. - R. Stephan, Apr 21 2004

REFERENCES

R. K. Guy, ``Anyone for Twopins?,'' in D. A. Klarner, editor, The Mathematical Gardner. Prindle, Weber and Schmidt, Boston, 1981, pp. 2-15.

N. J. A. Sloane and Simon Plouffe, The Encyclopedia of Integer Sequences, Academic Press, 1995 (includes this sequence).

LINKS

S. Plouffe, Approximations de S\'{e}ries G\'{e}n\'{e}ratrices et Quelques Conjectures, Dissertation, Universit\'{e} du Qu\'{e}bec \`{a} Montr\'{e}al, 1992.

S. Plouffe, 1031 Generating Functions and Conjectures, Universit\'{e} du Qu\'{e}bec \`{a} Montr\'{e}al, 1992.

Index entries for two-way infinite sequences

FORMULA

a(n)=sum{k=0..floor(n/2), binomial(floor((n+3k-3)/5), k)} - Paul Barry (pbarry(AT)wit.ie), Jul 10 2004

G.f.: [x+x^2]/[1-x^2-x^5]. - R. Stephan, Apr 21 2004

a(n)=a(n-2)+a(n-5). - Michael Somos, Jul 15 2004

MAPLE

A005686:=-(z+1)*(z**3+z+1)/(-1+z**2+z**5); [Conjectured by S. Plouffe in his 1992 dissertation. Gives sequence except for the initial 1's.]

PROG

(PARI) a(n)=if(n<0, polcoeff((x^3+x^4)/(1+x^3-x^5)+x^-n*O(x), -n), polcoeff((x+x^2)/(1-x^2-x^5)+x^n*O(x), n)) /* Michael Somos, Jul 15 2004 */

(PARI) a(n)=sum(k=0, (n-1)\2, binomial((n+3*k-4)\5, k))

CROSSREFS

Cf. A001687.

Sequence in context: A096792 A015741 A015753 * A118082 A120160 A017980

Adjacent sequences:  A005683 A005684 A005685 * A005687 A005688 A005689

KEYWORD

nonn

AUTHOR

N. J. A. Sloane (njas(AT)research.att.com).

EXTENSIONS

More terms from Paul Barry (pbarry(AT)wit.ie), Jul 10 2004

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Transforms | Puzzles | Hot | Classics
Recent Additions | More pages | Superseeker | Maintained by The OEIS Foundation Inc.

Content is available under The OEIS End-User License Agreement .

Last modified February 14 23:53 EST 2012. Contains 205689 sequences.