0

259. Swift 4, 159 bytes, A000329
import Foundation
func b(n: Int) -> Double {
return n > 0 ? tan(Double(b(n: n-1))) : 1
}
func sequence(_ n: Int) -> Int {
return Int(round(b(n: n)))
}
Try it here!
Next Sequence.
This implements a recursive function which computes our floating-poin...