cp's OEIS Frontend

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.

A301296 Smallest distance from n to a prime power (as defined in A246547).

This page as a plain text file.
%I A301296 #5 Mar 24 2018 17:18:30
%S A301296 3,2,1,0,1,2,1,0,0,1,2,3,3,2,1,0,1,2,3,4,4,3,2,1,0,1,0,1,2,2,1,0,1,2,
%T A301296 3,4,5,6,7,8,8,7,6,5,4,3,2,1,0,1,2,3,4,5,6,7,7,6,5,4,3,2,1,0,1,2,3,4,
%U A301296 5,6,7,8,8,7,6,5,4,3,2,1,0,1,2,3,4
%N A301296 Smallest distance from n to a prime power (as defined in A246547).
%Y A301296 There are four different sequences which may legitimately be called "prime powers": A000961 (p^k, k >= 0), A246655 (p^k, k >= 1), A246547 (p^k, k >= 2), A025475 (p^k, k=0 and k >= 2).
%Y A301296 Cf. A061670, A080732, A301295.
%K A301296 nonn
%O A301296 1,1
%A A301296 _N. J. A. Sloane_, Mar 24 2018