Closed superloach closed 4 years ago
http://oeis.org/A187243/a187243_1.pdf
var Seq = func(n int) (int, error) {
q := n / 10
a := float64(q+1) * (math.Round(float64((n+4)*(n+4))/20) - ((1 / float64(6)) * float64(q) * float64(3*n+10*q+7)))
return int(a), nil
}
could use some cleaning up, but this works
https://oeis.org/A000008
Current solution is failing tests: