Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A065581
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A065581 Smallest prime ending in exactly n 7's. +0
6
7, 277, 1777, 47777, 2477777, 16777777, 137777777, 577777777, 1777777777, 67777777777, 377777777777, 16777777777777, 17777777777777, 577777777777777, 2777777777777777, 157777777777777777 (list; graph; listen)
OFFSET

1,1

LINKS

Harry J. Smith, Table of n, a(n) for n=1,...,100

MATHEMATICA

Do[a = Table[7, {n} ]; k = 0; While[ b = FromDigits[ Join[ IntegerDigits[k], a]]; Mod[k, 10] == 7 || !PrimeQ[b], k++ ]; Print[b], {n, 1, 17} ]

PROGRAM

(PARI) { for (n=1, 100, t=10^n; b=7*(t - 1) / 9; d=0; while(!isprime(b + t*d), d++; if (d%10==7, d++)); write("b065581.txt", n, " ", b + t*d) ) } [From Harry J. Smith (hjsmithh(AT)sbcglobal.net), Oct 23 2009]

CROSSREFS

Cf. A037067, A065590, A065821, A065580, A065582.

Sequence in context: A140031 A066413 A037067 this_sequence A062646 A009503 A096548

Adjacent sequences: A065578 A065579 A065580 this_sequence A065582 A065583 A065584

KEYWORD

nonn,base

AUTHOR

Robert G. Wilson v (rgwv(AT)rgwv.com), Nov 28 2001

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 25 20:09 EST 2009. Contains 167514 sequences.


AT&T Labs Research