OFFSET
1,1
LINKS
Hugo Pfoertner, Table of n, a(n) for n = 1..10000
Plot of log_10(a(n)) vs log_10(n), using Plot 2.
MAPLE
N:= 10^5: # for terms <= N of A076467
S:= sort(convert({1, seq(seq(m^k, m = 2 .. floor(N^(1/k))), k=3..ilog2(N))}, list)):
S[2..-1]-S[1..-2]; # Robert Israel, Nov 24 2024
PROG
(PARI) lista(nn) = my(S=List(1)); for(x=2, sqrtnint(nn, 3), for(k=3, logint(nn, x), listput(S, x^k))); my(v=Set(S)); vector(#v-1, k, v[k+1]-v[k]); \\ Michel Marcus, Nov 24 2024
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Hugo Pfoertner, Nov 24 2024
STATUS
approved