create an algorithm for predicting the value of the next integer number in a sequence of integer numbers with values from 0 to 4095
function predictValue(previousValue) { //algorithm if (previousValue < 4096) { return previousValue + 1 } else { return previousValue } }