OFFSET
0,1
EXAMPLE
a(0) = 2 because 2 = 1 (A001222(1) = 0) + 3^0 = 1 + 1;
a(1) = 5 because 5 = 2 (A001222(2) = 1) + 3^1 = 2 + 3;
a(2) = 13 because 13 = 4 (A001222(4) = 2) + 3^2 = 4 + 9;
a(3) = 47 because 47 = 20 (A001222(20) = 3) + 3^3 = 20 + 27;
a(4) = 97 because 97 = 16 (A001222(16) = 4) + 3^4 = 16 + 81;
a(5) = 419 because 419 = 176 (A001222(176) = 5) + 3^5 = 176 + 243.
PROG
(PARI) for(n=0, 30, p=3^n; k=1; while(1, if(bigomega(k)==n && isprime(p+k), print1(p+k, ", "); break, k++))) \\ Colin Barker, Jun 27 2014
CROSSREFS
KEYWORD
nonn
AUTHOR
Juri-Stepan Gerasimov, Jul 02 2012
EXTENSIONS
More terms from Colin Barker, Jun 27 2014
STATUS
approved