login

Reminder: The OEIS is hiring a new managing editor, and the application deadline is January 26.

Number of distinct terms in dRRS equals 2: A061498(x)=2.
0

%I #7 Mar 30 2020 10:26:25

%S 9,10,12,14,18,20,22,24,25,26,27,28,34,36,38,40,44,46,48,49,50,52,54,

%T 56,58,62,68,72,74,76,80,81,82,86,88,92,94,96,98,100,104,106,108,112,

%U 116,118,121,122,124,125,134,136,142,144,146,148,152,158,160,162,164

%N Number of distinct terms in dRRS equals 2: A061498(x)=2.

%C 2p and prime powers are here.

%o (PARI) isok(n) = {my(va = select(x->(gcd(n, x)==1), [1..n])); vd = vector(#va-1, k, va[k+1] - va[k]); #Set(vd) == 2;} \\ _Michel Marcus_, Mar 30 2020

%Y Cf. A000010, A061498.

%K nonn

%O 1,1

%A _Labos Elemer_, Oct 09 2002