login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A329204 Number of integers less than n having at least as many totatives as n. 1
0, 1, 0, 1, 0, 3, 0, 2, 1, 4, 0, 6, 0, 4, 2, 3, 0, 8, 0, 6, 3, 5, 0, 10, 1, 6, 3, 8, 0, 16, 0, 7, 4, 9, 2, 15, 0, 9, 4, 14, 0, 21, 0, 10, 7, 9, 0, 21, 2, 15, 5, 11, 0, 22, 5, 14, 7, 11, 0, 33, 0, 12, 10, 12, 3, 29, 0, 15, 6, 26, 0, 28, 0, 16, 13, 18, 4, 34, 0, 24, 7, 17 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,6
LINKS
Charles R Greathouse IV, Table of n, a(n) for n = 1..10000 (first 2000 terms from Joshua Oliver)
Wikipedia, Totative.
EXAMPLE
a(6) = 3, because 6 has 2 totatives and there are 3 integers less than 6 with 2 or more totatives: 3 with 2 totatives, 4 with 2 totatives, and 5 with 4 totatives.
MATHEMATICA
Table[Length[Select[Range[n-1], EulerPhi[#]>=EulerPhi[n]&]], {n, 1, 100}]
PROG
(PARI) a(n) = sum(k=1, n-1, eulerphi(k) >= eulerphi(n)); \\ Michel Marcus, Nov 22 2019
(PARI) first(n)=my(u=vectorsmall(n), v=vector(n)); forfactored(f=1, n, u[f[1]]=eulerphi(f)); for(i=1, n, v[i]=sum(j=1, i-1, u[j]>=u[i])); v \\ Charles R Greathouse IV, Dec 11 2019
CROSSREFS
Cf. A000010.
Sequence in context: A317922 A337320 A194808 * A268464 A165066 A034389
KEYWORD
nonn,look
AUTHOR
Joshua Oliver, Nov 22 2019
STATUS
approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified April 16 07:08 EDT 2024. Contains 371698 sequences. (Running on oeis4.)