Number of solutions to the equation p_i = (1+mod(i,2))*p_{i-1} +- p_{i-2} +- p_{i-3} +- ... +- 2 +- 1, where p_i is the i-th prime number (where p_1 = 2 and the "zeroth prime" p_0 is defined to be 1).

A059871

Number of solutions to the equation p_i = (1+mod(i,2))*p_{i-1} +- p_{i-2} +- p_{i-3} +- ... +- 2 +- 1, where p_i is the i-th prime number (where p_1 = 2 and the "zeroth prime" p_0 is defined to be 1).

Terms

    a(0) =1a(1) =1a(2) =1a(3) =1a(4) =1a(5) =3a(6) =3a(7) =4a(8) =6a(9) =12a(10) =16a(11) =31a(12) =46a(13) =90a(14) =140a(15) =276a(16) =449a(17) =877a(18) =1443a(19) =2834a(20) =4725a(21) =9395a(22) =16153a(23) =32037a(24) =55872a(25) =110288a(26) =190815a(27) =380488a(28) =672728a(29) =1342395

External references