login
This site is supported by donations to The OEIS Foundation.

 

Logo

Please make a donation to keep the OEIS running. We are now in our 55th year. In the past year we added 12000 new sequences and reached 8000 citations (which often say "discovered thanks to the OEIS"). We need to raise money to hire someone to manage submissions, which would reduce the load on our editors and speed up editing.
Other ways to donate

Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A099071 Composite numbers n such that the concatenation of all nonprime natural numbers up to n in decreasing order is prime. 3
4, 6, 8, 9, 26, 1752 (list; graph; refs; listen; history; text; internal format)
OFFSET

1,1

COMMENTS

The terms of this sequence are composite terms of the sequence A099070 with same order. Next term is greater than 6000 and the prime corresponding to the next term has more than 20000 digits. Number of digits of primes corresponding to the six known terms of the sequence are respectively 2,3,4,5,29 & 5010.

LINKS

Table of n, a(n) for n=1..6.

C. Rivera, Primes by Listing.

EXAMPLE

26 is in the sequence because 26 is composite; nonprimes

up to 26 are 1,4,6,8,9,10,12,14,15,16,18,20,21,22,24,25,26

and 26252422212018161514121098641 is prime.

MATHEMATICA

Do[If[ !PrimeQ[n]&&PrimeQ[(v={}; Do[If[ !PrimeQ[n+1-j], v=Join[v, IntegerDigits[n+1-j]]], {j, n}]; FromDigits[v])], Print[n]], {n, 6013}]

CROSSREFS

Cf. A099070, A100003, A046284.

Sequence in context: A161732 A066307 A287198 * A156673 A073866 A202260

Adjacent sequences:  A099068 A099069 A099070 * A099072 A099073 A099074

KEYWORD

base,more,nonn,nice

AUTHOR

Farideh Firoozbakht, Nov 06 2004

STATUS

approved

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

License Agreements, Terms of Use, Privacy Policy. .

Last modified December 10 04:15 EST 2019. Contains 329885 sequences. (Running on oeis4.)