Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A114758
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A114758 Smallest prime of the form: n successive positive integers in descending order followed by a 1. +0
9
11, 211, 5431, 76541, 17161514131, 1211109871, 98765431, 876543211, 9876543211, 242322212019181716151, 11109876543211, 1131121111101091081071061051041031021, 555453525150494847464544431 (list; graph; listen)
OFFSET

1,1

EXAMPLE

a(4) = 76541, four successive positive integers 7,6,5,4 in descending order followed by a 1.

MATHEMATICA

a[n_]:=(For[m=1, (v={}; Do[v=Join[v, IntegerDigits[k]], {k, m+n-1, m, -1}]); !PrimeQ[10FromDigits[v]+1], m++ ]; 10FromDigits[v]+1); Table[a[n], {n, 14}] - Farideh Firoozbakht

f[n_] := Block[{t = Reverse@Range@n}, While[p = FromDigits@Flatten@IntegerDigits@Join[t, {1}]; ! PrimeQ@p, t++ ]; p]; Array[f, 13] (* Robert G. Wilson v *)

CROSSREFS

Cf. A113514, A114754, A114755, A114756, A114757, A114759, A112716, A108145, A114761.

Sequence in context: A089567 A110747 A112704 this_sequence A088061 A070220 A134069

Adjacent sequences: A114755 A114756 A114757 this_sequence A114759 A114760 A114761

KEYWORD

base,nonn

AUTHOR

Amarnath Murthy (amarnath_murthy(AT)yahoo.com), Jan 01 2006

EXTENSIONS

Extended by Robert G. Wilson v (rgwv(at)rgwv.com), Ray Chandler (rayjchandler(AT)sbcglobal.net) and Farideh Firoozbakht (f.firoozbakht(AT)math.ui.ac.ir), Jan 02 2006

More terms from Robert G. Wilson v (rgwv(at)rgwv.com), Jan 03 2006

page 1

Search completed in 0.002 seconds

Lookup | Welcome | Find friends | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Transforms | Puzzles | Hot | Classics
More pages | Superseeker | Maintained by N. J. A. Sloane (njas@research.att.com)

Last modified November 18 20:14 EST 2008. Contains 147244 sequences.


AT&T Labs Research