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!)
A136024 Largest prime factor of odd composites less than 10^n. 2
3, 31, 331, 3331, 33331, 333331, 3333331, 33333331, 333333313, 3333333323, 33333333329, 333333333323, 3333333333301, 33333333333323, 333333333333307, 3333333333333301, 33333333333333323 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
COMMENTS
Last instance of the largest prime factor of odd N <= 10^n-1 associated with A136021.
This sequence is not the same as A051200. E.g., A051200(9)=333333331 is not prime and is different from a(9)=333333313. However, if A051200(n) is prime, then a(n)=A051200(n).
LINKS
FORMULA
a(n) = precprime(10^n/3) = A007917((10^n-1)/3). - Max Alekseyev, Sep 29 2015
EXAMPLE
a(1)=31 because it is the largest factor of odd N <= 10^2-1. The value of odd N where this factor first occurs is 3*31 = 93.
PROG
(PARI) a(n)=precprime(10^n\3)
CROSSREFS
Sequence in context: A276195 A210852 A152276 * A051200 A274667 A136596
KEYWORD
easy,nonn
AUTHOR
Enoch Haga, Dec 12 2007
EXTENSIONS
Clarified and extended by Charles R Greathouse IV, Oct 11 2009
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 23 16:40 EDT 2024. Contains 371916 sequences. (Running on oeis4.)