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!)
A237282 The sum of the totatives of n is a perfect cube. 1
1, 2, 9, 16, 36, 128, 200, 243, 288, 289, 450, 972, 1024, 1156, 1600, 2304, 3600, 6561, 7776, 8192, 8214, 8664, 9126, 9248, 10584, 12150, 12800, 14450, 15987, 18432, 20808, 24843, 25000, 26244, 27075, 28800, 30250, 33075, 51005, 56250, 62208, 63001, 63948 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,2
COMMENTS
A positive integer <= n that is relatively prime to n is called a totative of n.
LINKS
Charles R Greathouse IV, Table of n, a(n) for n = 1..2000
Eric Weisstein's World of Mathematics, Totative
EXAMPLE
The sum of totatives of 9 is 1 + 2 + 4 + 5 + 7 + 8 = 27 = 3^3; therefore, 9 is a term of the sequence.
MATHEMATICA
g[n_] := Module[{r, i},
r = {};
For[i = 1, i <= n, i++,
If[GCD[n, i] == 1,
r = Append[r, i]]];
Apply[Plus, r]];
Select[Range[2*10^3], IntegerQ[g[#]^(1/3)] &]
PROG
(PARI) is(n)=ispower(n*eulerphi(n)/2, 3) || n==1 \\ Charles R Greathouse IV, Sep 21 2016
CROSSREFS
Cf. A023896.
Sequence in context: A275395 A213389 A304907 * A178440 A097965 A304974
KEYWORD
nonn
AUTHOR
Joseph L. Pe, Feb 05 2014
EXTENSIONS
More terms from Alois P. Heinz, Feb 05 2014
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 24 09:42 EDT 2024. Contains 371935 sequences. (Running on oeis4.)