A350957 Number of ways to write 2*n as 3^i (i >= 0) plus a prime.
0, 1, 2, 2, 1, 2, 3, 2, 1, 3, 2, 1, 2, 1, 2, 4, 2, 0, 3, 3, 1, 3, 3, 1, 3, 1, 1, 3, 1, 1, 3, 2, 0, 3, 3, 1, 3, 2, 0, 3, 2, 2, 3, 3, 1, 3, 2, 0, 4, 3, 1, 3, 3, 1, 5, 3, 1, 3, 2, 0, 2, 2, 0, 3, 2, 1, 3, 2, 1, 5, 2, 0, 1, 2, 1, 3, 3, 0, 3, 3, 0, 3, 3, 1, 2, 1, 1, 3, 2, 1, 4, 3, 0, 2, 3
Offset: 1
Keywords
Formula
a(n) = A282432(2*n). - R. J. Mathar, Mar 07 2022