This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.
%I A377780 #8 Nov 16 2024 22:15:45 %S A377780 0,1,1,1,2,0,1,1,2,0,2,0,3,0,0,1,2,0,4,0,0,0,2,0,2,0,2,0,2,0,1,5,0,0, %T A377780 0,0,4,0,0,0,2,0,4,0,0,0,2,0,4,0,0,0,6,0,0,0,0,0,2,0,3,0,0,3,0,0,4,0, %U A377780 0,0,2,0,6,0,0,0,0,0,2,0,2,0,6,0,0,0,0 %N A377780 First differences of A000015 (smallest prime-power >= n). %t A377780 Differences[Table[NestWhile[#+1&,n,!PrimePowerQ[#]&],{n,100}]] %Y A377780 First differences of A000015, restriction to primes A345531. %Y A377780 The opposite is A377782, restriction to primes A377781, differences of A065514. %Y A377780 For squarefree instead of prime-power see A067535, A112925, A112926, A120327. %Y A377780 A000040 lists the primes, differences A001223. %Y A377780 A000961 and A246655 list the prime-powers, differences A057820. %Y A377780 A024619 lists the non-prime-powers, differences A375735, seconds A376599. %Y A377780 A080101 counts prime-powers between primes (exclusive). %Y A377780 A361102 lists the non-powers of primes, differences A375708. %Y A377780 A366833 counts prime-powers between primes. %Y A377780 Cf. A001597, A007916, A007949, A031218, A053289, A053607, A343249, A343250, A377282, A377289, A377468. %K A377780 nonn %O A377780 1,5 %A A377780 _Gus Wiseman_, Nov 13 2024