OFFSET
2,3
COMMENTS
The inverse patterns are voids or stars (consist of 4 perimeter parts of coins) appearing in n X n coins using the same rule as A229593.
LINKS
Kival Ngaokrajang, Illustration of initial terms
FORMULA
Empirical g.f.: -x^2*(x+1)*(x^4-2*x^3+5*x^2-2*x+1) / ((x-1)^3*(x^2+x+1)^2). - Colin Barker, Oct 06 2013
EXAMPLE
For n = 2, there is no boomerang can be packed into 2X2 coins, there is 1 void left, a(2) = 1.
For n = 3, there are 2 boomerangs can be packed into 3X3 coins with no void left, a(3) = 0.
...
PROG
(Small Basic)
v[2]=1
d[3]=-1
d[4]=3
d[5]=5
For n=2 To 100
If n+1 >=6 Then
If Math.Remainder(n+1, 3)=0 Then
d[n+1]=d[n-2]-2
Else
d[n+1]=d[n-2]+4
EndIf
EndIf
v[n+1]=v[n]+d[n+1]
TextWindow.Write(v[n]+", ")
EndFor
CROSSREFS
KEYWORD
nonn
AUTHOR
Kival Ngaokrajang, Sep 26 2013
STATUS
approved