login

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

Numbers n such that (17^n - 2^n)/15 is prime.
25

%I #9 Jun 06 2017 14:35:02

%S 2,83,1907,2591,16223,17183

%N Numbers n such that (17^n - 2^n)/15 is prime.

%C All terms are primes.

%C a(7) > 10^5.

%t Select[ Prime[ Range[1, 100000] ], PrimeQ[ (17^# - 2^#)/15 ]& ]

%o (PARI) is(n)=ispseudoprime((17^n-2^n)/15) \\ _Charles R Greathouse IV_, Jun 06 2017

%Y Cf. A128031, A225955, A217320, A006034.

%K more,nonn

%O 1,1

%A _Robert Price_, Jul 29 2013