OFFSET
1,1
COMMENTS
a(42) > 7000. - Michael S. Branicky, May 06 2025
LINKS
Robert de Mello Koch, Animik Ghosh, and Hendrik J. R. Van Zyl, Bosonic Fortuity in Vector Models, arXiv:2504.14181 [hep-th], 2025. See p. 10.
EXAMPLE
2 is in this sequence because 2^1*3^(2-1) - 1 = 5 is prime and 2^(2-1)*3^1 - 1 = 5 is prime.
3 is in this sequence because 2^1*3^(3-1) - 1 = 17 is prime and 2^(3-1)*3^1 - 1 = 11 is prime.
4 is in this sequence because 2^1*3^(4-1) - 1 = 53 is prime and 2^(4-1)*3^1 - 1 = 23 is prime.
5 is in this sequence because 2^2*3^(5-2) - 1 = 107 is prime and 2^(5-2)*3^2 - 1 = 71 is prime.
MATHEMATICA
Select[Range@ 800, Function[n, Total@ Boole@ Table[PrimeQ@ {2^k*3^(n - k) - 1 , 2^(n - k)*3^k - 1} == {True, True}, {k, n/2}] > 0]] (* Michael De Vlieger, Feb 07 2017 *)
PROG
(PARI) is(n)=for(k=1, n-1, if(isprime(3^(n-k)<<k - 1) && isprime(3^k<<(n-k) - 1), return(1))); 0 \\ Charles R Greathouse IV, Feb 21 2017
CROSSREFS
KEYWORD
nonn,more
AUTHOR
Juri-Stepan Gerasimov, Feb 06 2017
EXTENSIONS
a(21)-a(33) from Michael De Vlieger, Feb 07 2017
a(34)-a(41) from Michael S. Branicky, May 05 2025
STATUS
approved
