login

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

Primes with n consecutive digits descending beginning with the digit four.
2

%I #2 Mar 30 2012 17:31:20

%S 2,64,176,1502,4676,6933,8173

%N Primes with n consecutive digits descending beginning with the digit four.

%C Digits are in descending order beginning with 1 and after 0 comes 9.

%e 2 is a term since 43 is a prime.

%t fQ[n_] := PrimeQ@ FromDigits@ Mod[5-Range@n, 10]; lst = {}; Do[ If[fQ@n, AppendTo[lst, n]; Print@n], {n, 10000}]; lst

%Y Cf. A120804, A120823, A120828.

%K base,hard,nonn

%O 1,1

%A _Robert G. Wilson v_, Jul 05 2006