login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A120828 Numbers k such that the concatenation of n successive descending digits (1,0,9,8,7,...) starting with 1 is prime. 2
3, 5, 35, 139, 153, 253, 1053, 2015, 3703, 6933, 8173, 11959 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
COMMENTS
Digits are in descending order beginning with 1 and after 0 comes 9.
Terms must end in 3, 5 or 9. - Michael S. Branicky, May 11 2023
LINKS
EXAMPLE
5 is a term since 10987 is a prime.
MAPLE
filter:= proc(n) local i; isprime( add(10^(n-1-i)*(1-i mod 10), i=0..n-1)) end proc:
select(filter, [$1..4000]); # Robert Israel, Mar 08 2023
MATHEMATICA
fQ[n_] := PrimeQ@ FromDigits@ Mod[2-Range@n, 10]; lst = {}; Do[ If[fQ@n, AppendTo[lst, n]; Print@n], {n, 6000}]; lst
CROSSREFS
Sequence in context: A001790 A173092 A057908 * A077784 A325582 A145640
KEYWORD
nonn,base,hard,more
AUTHOR
Robert G. Wilson v, Jul 05 2006
EXTENSIONS
Name corrected by Robert Israel, Mar 08 2023
a(10)-a(12) from Michael S. Branicky, May 11 2023
STATUS
approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified May 1 02:25 EDT 2024. Contains 372143 sequences. (Running on oeis4.)