Jacobsthal numbers: Difference between revisions
m
→{{header|Python}}
Line 1,322:
# jacobsthalish :: (Int, Int) -> [Int]
def jacobsthalish(
'''Infinite sequence of jacobsthal-type series
beginning with a, b
'''
def go(
a,
return a,
return unfoldr(go)(
|