A375739 Maximum of the n-th maximal anti-run of adjacent (increasing by more than one at a time) non-perfect-powers.
2, 5, 6, 10, 11, 12, 13, 14, 17, 18, 19, 20, 21, 22, 23, 28, 29, 30, 33, 34, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 82, 83, 84, 85, 86, 87, 88
Offset: 1
Keywords
Examples
The initial anti-runs are the following, whose maxima are a(n): (2) (3,5) (6) (7,10) (11) (12) (13) (14) (15,17) (18) (19) (20) (21) (22) (23) (24,26,28)
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]&]
Comments