login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A156900
a(n) = the smallest prime power >= the n-th positive squarefree integer.
4
1, 2, 3, 5, 7, 7, 11, 11, 13, 16, 16, 17, 19, 23, 23, 23, 27, 29, 31, 31, 37, 37, 37, 37, 41, 41, 41, 43, 43, 47, 47, 53, 53, 59, 59, 59, 59, 61, 64, 67, 67, 67, 71, 71, 71, 73, 79, 79, 79, 79, 83, 83, 89, 89, 89, 89, 97, 97, 97, 97, 97, 101, 103, 103, 107, 107, 107, 109, 113
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
KEYWORD
nonn
AUTHOR
Leroy Quet, Feb 17 2009
EXTENSIONS
Extended by D. S. McNeil, Mar 23 2009
STATUS
approved