0,4

Peter J. C. Moses, Table of n, a(n) for n = 0..9999

Let n=12. Numbers which are prime to 12 are 1,5,7,11. However, 1 and 11 are not acceptable by the condition. So, a(12)=2.

Cf. A000010, A232897.

Sequence in context: A126606 A285699 A278229 * A262550 A077651 A004085

Adjacent sequences: A233024 A233025 A233026 * A233028 A233029 A233030

nonn,base

Vladimir Shevelev, Dec 03 2013

More terms from Peter J. C. Moses

approved