input 2 output 5, input 5 output 11 what's the rule?

double it, add 1 works.