Little sequence calculator