login
The OEIS is supported by the many generous donors to the OEIS 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
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
Sequence in context: A070530 A248046 A059017 * A108444 A155662 A182328
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 | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified April 19 19:02 EDT 2024. Contains 371798 sequences. (Running on oeis4.)