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”).

A228949
Coins left when packing boomerangs into n X n coins.
8
4, 3, 7, 13, 6, 13, 22, 9, 19, 31, 12, 25, 40, 15, 31, 49, 18, 37, 58, 21, 43, 67, 24, 49, 76, 27, 55, 85, 30, 61, 94, 33, 67, 103, 36, 73, 112, 39, 79, 121, 42, 85, 130, 45, 91, 139, 48, 97, 148, 51, 103, 157, 54, 109, 166, 57
OFFSET
2,1
COMMENTS
The coins left after packing boomerangs into n X n coins using the same rule as A229593. See illustration in links.
FORMULA
G.f. -x^2*(-4-3*x-7*x^2-5*x^3+x^5) / ( (x-1)^2*(1+x+x^2)^2 ). - R. J. Mathar, Oct 16 2013
MATHEMATICA
LinearRecurrence[{0, 0, 2, 0, 0, -1}, {4, 3, 7, 13, 6, 13}, 80] (* Harvey P. Dale, Jan 19 2019 *)
PROG
(Small Basic)
u[2]=4
d[3]=-1
d[4]=4
d[5]=6
For n=2 To 100
If n+1 >=6 Then
If Math.Remainder(n+1, 3)=0 Then
d[n+1]=d[n-2]-6
Else
d[n+1]=d[n-2]+3
EndIf
EndIf
u[n+1]=u[n]+d[n+1]
TextWindow.Write(u[n]+", ")
EndFor
CROSSREFS
Cf. A229593 (Boomerangs), A229598 (Voids), A017209 (trisection), A008585 (trisection), A016921 (trisection).
Sequence in context: A244335 A275818 A245300 * A048227 A213661 A176083
KEYWORD
nonn,easy
AUTHOR
Kival Ngaokrajang, Oct 05 2013
STATUS
approved