# Greetings from The On-Line Encyclopedia of Integer Sequences! http://oeis.org/ Search: id:a120826 Showing 1-1 of 1 %I A120826 #3 Mar 30 2012 17:31:20 %S A120826 2,82,152 %N A120826 Primes with n consecutive digits ascending beginning with the digit eight. %C A120826 Digits are in ascending order beginning with 8 and after 9 comes 0. %C A120826 The sequence "Primes with n consecutive digits descending beginning with the digit eight" has no terms. %e A120826 2 is a term since 89 is a prime. %t A120826 fQ[n_] := PrimeQ@ FromDigits@ Mod[7+Range@n, 10]; lst = {}; Do[ If[fQ@n, AppendTo[lst, n]; Print@n], {n, 5000}]; lst %Y A120826 Cf. A006055, A120819, A120820, A120821, A120822, A120823, A120824, A120825, A120827. %K A120826 base,bref,hard,nonn %O A120826 1,1 %A A120826 _Robert G. Wilson v_, Jul 05 2006 # Content is available under The OEIS End-User License Agreement: http://oeis.org/LICENSE