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

 Hints (Greetings from The On-Line Encyclopedia of Integer Sequences!)
 A114759 Smallest prime of the form: n successive positive integers in descending order followed by a 3. a(3k) = 0 as no such prime exists. 7
 13, 433, 0, 54323, 654323, 0, 292827262524233, 987654323, 0, 1716151413121110983, 181716151413121110983, 0, 1413121110987654323, 27262524232221201918171615143, 0, 1716151413121110987654323 (list; graph; refs; listen; history; text; internal format)
 OFFSET 1,1 LINKS Table of n, a(n) for n=1..16. EXAMPLE a(4) = 54323, four successive positive integers 5,4,3,2 in descending order followed by a 3. MATHEMATICA a[n_]:=If[Mod[n, 3]==0, 0, (For[m=1, (v={}; Do[v=Join[v, IntegerDigits[k]], {k, m+n-1, m, -1}]); !PrimeQ[10FromDigits[v]+3], m++ ]; 10FromDigits[v] +3)]; Table[a[n], {n, 17}] - Farideh Firoozbakht f[n_] := Block[{t = Reverse@Range@n}, If[Mod[n, 3] == 0, 0, While[p = FromDigits@Flatten@IntegerDigits@Join[t, {3}]; ! PrimeQ@p, t++ ]; p]]; Array[f, 18] (* Robert G. Wilson v *) CROSSREFS Cf. A114754, A114755, A114756, A114757, A114758, A112716, A108145. Sequence in context: A012045 A012109 A012084 * A260871 A260851 A260852 Adjacent sequences: A114756 A114757 A114758 * A114760 A114761 A114762 KEYWORD base,nonn AUTHOR Amarnath Murthy, Jan 01 2006 EXTENSIONS Extended by Robert G. Wilson v, Ray Chandler and Farideh Firoozbakht, Jan 02 2006 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.

Last modified February 29 06:26 EST 2024. Contains 370414 sequences. (Running on oeis4.)