A233412 c-analog of Euler phi-function: a(n) is number of nonnegative integers not exceeding n and c-prime to n.
1, 1, 2, 2, 4, 2, 2, 3, 8, 3, 7, 3, 4, 3, 3, 5, 16, 5, 8, 5, 8, 4, 4, 4, 7, 5, 4, 4, 5, 4, 4, 8, 32, 8, 15, 8, 28, 4, 4, 7, 17, 4, 21, 6, 4, 6, 6, 6, 12, 10, 4, 9, 4, 6, 6, 6, 10, 9, 6, 6, 9, 6, 6, 13, 64, 13, 27, 13, 41, 6, 6, 12, 41, 11, 21, 5, 11, 5, 5, 11
Offset: 0
Examples
Let n=12=(1)(100). It is clear that odd numbers end in (1) and are not prime to 12. Besides, 6=(1)(10) also contains part (1) and 4=(100) is c-divisor of 12. Other even <=10 {0,2,8,10} are prime to 12. Thus a(12)=4.
Links
- Peter J. C. Moses, Table of n, a(n) for n = 0..4999
Formula
a(2^n)=2^n.
Extensions
More terms from Peter J. C. Moses, Dec 09 2013
Comments