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!)
A156899 a(n) = the largest prime power <= the n-th positive squarefree integer. 4
1, 2, 3, 5, 5, 7, 9, 11, 13, 13, 13, 17, 19, 19, 19, 23, 25, 29, 29, 31, 32, 32, 32, 37, 37, 37, 41, 41, 43, 43, 47, 49, 53, 53, 53, 53, 59, 61, 61, 64, 64, 67, 67, 67, 71, 73, 73, 73, 73, 79, 81, 83, 83, 83, 83, 89, 89, 89, 89, 89, 97, 101, 101, 103, 103, 103, 107, 109, 109 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,2
COMMENTS
The first positive squarefree integer is considered to be 1 here.
LINKS
MATHEMATICA
Block[{nn = 110, s}, s = Select[Range[nn], SquareFreeQ]; Map[If[# == 1, 1, SelectFirst[# - Range[0, # - 1], PrimePowerQ]] &, s]] (* Michael De Vlieger, Oct 30 2017 *)
CROSSREFS
Sequence in context: A092391 A187322 A335429 * A347737 A332286 A357250
KEYWORD
nonn
AUTHOR
Leroy Quet, Feb 17 2009
EXTENSIONS
Extended by Ray Chandler, Jun 19 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 18 02:22 EDT 2024. Contains 371767 sequences. (Running on oeis4.)