login
The OEIS Foundation is supported by donations from users of the OEIS and by a grant from the Simons Foundation.

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A099667 a(n) is the largest prime before A002281(n); repdigits repeating 7. 2
5, 73, 773, 7759, 77773, 777769, 7777769, 77777761, 777777773, 7777777741, 77777777767, 777777777773, 7777777777771, 77777777777753, 777777777777773, 7777777777777753, 77777777777777747, 777777777777777743 (list; graph; refs; listen; history; text; internal format)
OFFSET

1,1

LINKS

Michael De Vlieger, Table of n, a(n) for n = 1..1000

EXAMPLE

n=2: 73 is before 77.

MATHEMATICA

Table[NextPrime[7 (10^n - 1)/9, -1], {n, 35}]

(* Second program: *)

Rest[NextPrime[#, -1]&/@LinearRecurrence[{11, -10}, {0, 7}, 25]] (* Harvey P. Dale, May 24 2015 *)

CROSSREFS

Cf. A003618, A003617, A096497, A096498, A068104, A002275-A002283, A099656-A099668.

Sequence in context: A070530 A248046 A059017 * A108444 A155662 A182328

Adjacent sequences:  A099664 A099665 A099666 * A099668 A099669 A099670

KEYWORD

base,nonn

AUTHOR

Labos Elemer, Nov 17 2004

EXTENSIONS

Name changed by David A. Corneth, Sep 01 2017

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 February 27 07:05 EST 2020. Contains 332299 sequences. (Running on oeis4.)