A375704 Maximum of the n-th maximal run of adjacent (increasing by one at a time) non-perfect-powers.
3, 7, 15, 24, 26, 31, 35, 48, 63, 80, 99, 120, 124, 127, 143, 168, 195, 215, 224, 242, 255, 288, 323, 342, 360, 399, 440, 483, 511, 528, 575, 624, 675, 728, 783, 840, 899, 960, 999, 1023, 1088, 1155, 1224, 1295, 1330, 1368, 1443, 1520, 1599, 1680, 1727, 1763
Offset: 1
Keywords
Examples
The list of all non-perfect-powers, split into runs, begins: 2 3 5 6 7 10 11 12 13 14 15 17 18 19 20 21 22 23 24 26 28 29 30 31 33 34 35 37 38 39 40 41 42 43 44 45 46 47 48 Row n begins with A375703(n), ends with a(n), adds up to A375705(n), and has length A375702(n).
Crossrefs
Programs
-
Mathematica
radQ[n_]:=n>1&&GCD@@Last/@FactorInteger[n]==1; Max/@Split[Select[Range[100],radQ],#1+1==#2&]//Most - or - radQ[n_]:=n>1&&GCD@@Last/@FactorInteger[n]==1; Select[Range[100],radQ[#]&&!radQ[#+1]&]
Formula
For n > 2 we have a(n) = A045542(n+1).
Comments