consecutive integers calculator