cp's OEIS Frontend

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.

A165744 Numbers k with property that 6^k is the sum of two consecutive primes.

This page as a plain text file.
%I A165744 #18 Feb 18 2021 09:29:05
%S A165744 2,3,7,36,54,143,1102,1678
%N A165744 Numbers k with property that 6^k is the sum of two consecutive primes.
%e A165744 k=2: 6^2 = 36     = 17 + 19         = prime(7) + prime(8);
%e A165744 k=3: 6^3 = 216    = 107 + 109       = prime(28) + prime(29);
%e A165744 k=7: 6^7 = 279936 = 139967 + 139969 = prime(13005) + prime(13006).
%t A165744 (* M6 *) Do[If[PreviousPrime[6^n/2]+NextPrime[6^n/2]==6^n,Print[n]],{n,1000}]
%o A165744 (PARI) is(k) = my(t=6^k); precprime(t/2)+nextprime(1+t/2)==t; \\ _Jinyuan Wang_, Feb 18 2021
%Y A165744 Cf. A071087, A074924.
%K A165744 nonn,more
%O A165744 1,1
%A A165744 _Zak Seidov_, Sep 26 2009
%E A165744 a(7) from _Max Alekseyev_, Dec 14 2011
%E A165744 a(8) from _Amiram Eldar_, Apr 06 2019