OFFSET
1,1
COMMENTS
According to Pillai's conjecture, k = 13 is the only term such that 2*k-1 and 2*k+1 both have exponent greater than 1.
LINKS
Jianing Song, Table of n, a(n) for n = 1..10000
Wikipedia, Catalan's conjecture. Pillai's conjecture.
EXAMPLE
41 is a term since 2*41-1 = 81 is a prime power, and 2*41+1 = 83 is a prime.
PROG
(PARI) isA365416(n) = isprimepower(2*n-1) && isprimepower(2*n+1)
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Jianing Song, Oct 22 2023
STATUS
approved