login
A156898
a(n) = the smallest squarefree integer >= the n-th prime power.
4
1, 2, 3, 5, 5, 7, 10, 10, 11, 13, 17, 17, 19, 23, 26, 29, 29, 31, 33, 37, 41, 43, 47, 51, 53, 59, 61, 65, 67, 71, 73, 79, 82, 83, 89, 97, 101, 103, 107, 109, 113, 122, 127, 127, 129, 131, 137, 139, 149, 151, 157, 163, 167, 170, 173, 179, 181, 191, 193, 197, 199, 211
OFFSET
1,2
COMMENTS
The first prime power is considered to be 1 here.
LINKS
MATHEMATICA
Block[{nn = 216, s}, s = {1}~Join~Select[Range[nn], PrimePowerQ]; Map[SelectFirst[# + Range[0, #], SquareFreeQ] &, s]] (* Michael De Vlieger, Oct 30 2017 *)
CROSSREFS
KEYWORD
nonn
AUTHOR
Leroy Quet, Feb 17 2009, Feb 18 2009
EXTENSIONS
Extended by Ray Chandler, Jun 19 2009
STATUS
approved