The positive integer n is given and for all positive integers k, 1≤k≤n, denote by akn the number of all ordered sequences (i1,i2,…,ik) of positive integers which verify the following two conditions:
a) 1≤i1<i2<⋯ik≤n;
b) ir+1−ir≡1(mod2), for all r∈{1,2,…,k−1}.
Compute the number a(n)=k=1∑nakn.
Ioan Tomescu modular arithmeticcombinatorics proposedcombinatorics