%I A080732
%S A080732 1,0,0,0,0,1,0,0,0,1,0,1,0,1,1,0,0,1,0,1,2,1,0,1,0,1,0,1,0,1,0,0,1,2,2,
%T A080732 1,0,1,2,1,0,1,0,1,2,1,0,1,0,1,2,1,0,1,2,3,2,1,0,1,0,1,1,0,1,1,0,1,2,1,
%U A080732 0,1,0,1,2,3,2,1,0,1,0,1,0,1,2,3,2,1,0,1,2,3,4,3,2,1,0,1,2,1,0,1,0,1,2
%N A080732 Smallest distance from n to a prime power.
%C A080732 a(n)=min (abs(n-k) : where k runs through the prime powers)
%Y A080732 Cf. A051699.
%Y A080732 Sequence in context: A144627 A135929 A080733 this_sequence A088568 A123737
A083037
%Y A080732 Adjacent sequences: A080729 A080730 A080731 this_sequence A080733 A080734
A080735
%K A080732 nonn
%O A080732 1,21
%A A080732 Benoit Cloitre (benoit7848c(AT)orange.fr), Mar 08 2003
|