This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.
%I A365416 #20 Oct 26 2023 06:09:16 %S A365416 2,3,4,5,6,9,12,13,14,15,21,24,30,36,40,41,51,54,63,69,75,84,90,96,99, %T A365416 114,120,121,135,141,156,174,180,210,216,231,261,285,300,309,321,330, %U A365416 364,405,411,414,420,429,441,510,516,525,531,546,576,615,639,645,651,660,684 %N A365416 Numbers k such that 2*k-1 and 2*k+1 are both prime powers (A246655). %C A365416 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. %H A365416 Jianing Song, <a href="/A365416/b365416.txt">Table of n, a(n) for n = 1..10000</a> %H A365416 Wikipedia, <a href="https://en.wikipedia.org/wiki/Catalan%27s_conjecture#Pillai's_conjecture">Catalan's conjecture. Pillai's conjecture</a>. %e A365416 41 is a term since 2*41-1 = 81 is a prime power, and 2*41+1 = 83 is a prime. %o A365416 (PARI) isA365416(n) = isprimepower(2*n-1) && isprimepower(2*n+1) %Y A365416 Cf. A246655. Supersequence of A040040 and 2*A365411. %Y A365416 Cf. A088071, A175593. %K A365416 nonn,easy %O A365416 1,1 %A A365416 _Jianing Song_, Oct 22 2023