Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A112716
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A112716 Smallest prime of the form: n successive positive integers in descending order followed by a 7. +0
8
17, 547, 3217, 65437, 543217, 8765437, 76543217, 41403938373635347, 9876543217, 282726252423222120197, 1312111098765437, 2322212019181716151413127, 222120191817161514131211107, 1615141312111098765437 (list; graph; listen)
OFFSET

1,1

EXAMPLE

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

MATHEMATICA

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

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

CROSSREFS

Cf. A114754, A114755, A114756, A114757, A114758, A114759, A108145.

Sequence in context: A012792 A012232 A114063 this_sequence A012069 A056771 A041547

Adjacent sequences: A112713 A112714 A112715 this_sequence A112717 A112718 A112719

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 (mymontain(AT)yahoo.com), Jan 02 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 December 7 08:40 EST 2009. Contains 170430 sequences.


AT&T Labs Research