A145021 a(n) = number of different positive integers that can be formed from different groupings of expressions of the form n op1 n op2 n op3 n, where each of op1, op2 and op3 are addition, subtraction, multiplication or division.
4, 10, 20, 25, 27, 29, 30, 31, 30, 31, 30, 31, 30, 31, 30, 31, 30, 31, 30, 31, 30, 31, 30, 31, 30, 31, 30, 31, 30, 31, 30, 31, 30, 31, 30, 31, 30, 31, 30, 31, 30, 31, 30, 31, 30, 31, 30, 31, 30, 31, 30, 31, 30, 31, 30, 31, 30, 31, 30, 31, 30, 31, 30, 31, 30
Offset: 1
Examples
You can form the numbers 1, 2, 3, 4 with 4 ones; hence the first term is 4.
Formula
If k >3, a(2k-1)=30 and a(2k)=31. - Ken Levasseur, Oct 01 2008
Comments