A373671 Length of the n-th maximal antirun of prime-powers.
1, 1, 1, 2, 1, 4, 7, 26, 27, 1007, 5558, 5734, 31209
Offset: 1
Examples
The maximal antiruns of prime-powers begin: 2 3 4 5 7 8 9 11 13 16 17 19 23 25 27 29 31
Links
Crossrefs
For prime antiruns we have A027833.
For squarefree runs we have A120992.
For prime-power runs we have A174965.
For prime runs we have A175632.
For composite antiruns we have A373403.
For antiruns of prime-powers:
- length A373671 (this sequence)
- min A120430
- max A006549
For antiruns of non-prime-powers:
- length A373672
- min A373575
- max A255346
A000961 lists the powers of primes (including 1).
A025528 counts prime-powers up to n.
Programs
-
Mathematica
Length/@Split[Select[Range[100],PrimePowerQ[#]&],#1+1!=#2&]//Most
Comments