A376561 Points of downward concavity in the sequence of perfect-powers (A001597).
2, 5, 7, 13, 14, 18, 19, 21, 24, 25, 29, 30, 39, 40, 45, 51, 52, 56, 59, 66, 70, 71, 74, 87, 94, 101, 102, 108, 110, 112, 113, 119, 127, 135, 143, 144, 156, 157, 160, 161, 169, 178, 187, 196, 205, 206, 215, 224, 225, 234, 244, 263, 273, 283, 284, 293, 294, 304
Offset: 1
Keywords
Examples
The perfect powers (A001597) are: 1, 4, 8, 9, 16, 25, 27, 32, 36, 49, 64, 81, 100, 121, 125, 128, 144, 169, 196, ... with first differences (A053289): 3, 4, 1, 7, 9, 2, 5, 4, 13, 15, 17, 19, 21, 4, 3, 16, 25, 27, 20, 9, 18, 13, 33, ... with first differences (A376559): 1, -3, 6, 2, -7, 3, -1, 9, 2, 2, 2, 2, -17, -1, 13, 9, 2, -7, -11, 9, -5, 20, 2, ... with negative positions (A376561): 2, 5, 7, 13, 14, 18, 19, 21, 24, 25, 29, 30, 39, 40, 45, 51, 52, 56, 59, 66, 70, ...
Links
- Robert Israel, Table of n, a(n) for n = 1..10000
- Gus Wiseman, Points of downward concavity in the perfect-powers.
Crossrefs
For primes instead of perfect-powers we have A258026.
For upward concavity we have A376560 (probably the complement).
A001597 lists the perfect-powers.
A007916 lists the non-perfect-powers.
A333254 gives run-lengths of differences between consecutive primes.
Programs
-
Maple
N:= 10^6: # to use perfect powers <= N P:= {seq(seq(i^m,i=2..floor(N^(1/m))), m=2 .. ilog2(N))}: nP:= nops(P): P:= sort(convert(P,list)): select(i -> 2*P[i] > P[i-1]+P[i+1], [$2..nP-1]); # Robert Israel, Oct 31 2024
-
Mathematica
perpowQ[n_]:=n==1||GCD@@FactorInteger[n][[All,2]]>1; Join@@Position[Sign[Differences[Select[Range[1000],perpowQ],2]],-1]
Comments