login

Reminder: The OEIS is hiring a new managing editor, and the application deadline is January 26.

Primes of the form : 8^n-7^n.
0

%I #4 Jul 05 2023 16:05:24

%S 1273609,6612607849,2019169299698041,151522599154859354635552921,

%T 9745744932248196392577951049,

%U 220850092209355591999793321040563526382178219220559368038951319096656329

%N Primes of the form : 8^n-7^n.

%C 8^7-7^7=2097152-823543=1273609,...

%C The next term (a(7)) has 103 digits. - _Harvey P. Dale_, Jul 05 2023

%t lst={};Do[p=8^n-7^n;If[PrimeQ[p],AppendTo[lst,p]],{n,6!}];lst

%t Select[Table[8^n-7^n,{n,100}],PrimeQ] (* _Harvey P. Dale_, Jul 05 2023 *)

%Y Cf. A016177, A062574

%K nonn

%O 1,1

%A _Vladimir Joseph Stephan Orlovsky_, Nov 10 2008