What is the rule for this function?

Input 1 output 3
Input 2 output 5
Input 4 output 9
Input 5 output 11
Input 10 output 21
Input 12 output 25
Please help thanks

looks like

y = 2x + 1