login
Number of rotations of the digits in n produced by n * x/y where x != y.
3

%I #19 Jun 20 2017 23:48:53

%S 0,0,1,0,0,1,0,0,1,0,0,1,0,0,1,0,1,1,1,0,0,0,0,0,0,0,1,0,0,1,0,0,1,0,

%T 0,1,1,0,1,0,0,1,0,0,1,0,0,1,0,0,0,0,1,1,1,0,0,0,1,1,0,0,1,0,0,1,0,0,

%U 1,0,0,1,1,0,1,0,1,1,0,0,0,0,0,1,0,0,1,0,0,0,0,0,1,0,1,1,1,0,1,0,0,0,0,0,2

%N Number of rotations of the digits in n produced by n * x/y where x != y.

%C Rotations with a leading digit of zero are omitted.

%C If d is the number of nonzero digits in n, a(n) < d.

%H Doug Bell, <a href="/A285936/b285936.txt">Table of n, a(n) for n = 10..10000</a>

%e a(13) = 0 because there is no fraction x/y such that 13 * x/y = 31, the only rotation of 13;

%e a(15) = 1 because 15 * 17/5 = 51, the only rotation 51;

%e a(114) = 2 because 114 * 47/38 = 141 and 114 * 137/38 = 411, both the rotations of 114.

%K nonn,base

%O 10,105

%A _Doug Bell_, Jun 14 2017