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!)
A338647 a(n) = Sum_{k=1..n} 2^(k/gcd(n,k) - 1). 0
1, 2, 4, 7, 16, 22, 64, 92, 223, 342, 1024, 1132, 4096, 5462, 13534, 21937, 65536, 70978, 262144, 333472, 890590, 1398102, 4194304, 4528402, 16236031, 22369622, 57522106, 88435312, 268435456, 272976502, 1073741824, 1431677702, 3679303390, 5726623062, 16490405374, 18543422953 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,2
LINKS
FORMULA
a(n) = Sum_{d|n} A054432(d).
MATHEMATICA
Table[Sum[2^(k/GCD[n, k] - 1), {k, 1, n}], {n, 1, 36}]
PROG
(PARI) a(n) = sum(k=1, n, 2^(k/gcd(n, k) - 1)); \\ Michel Marcus, Apr 22 2021
CROSSREFS
Sequence in context: A032363 A303749 A239390 * A361334 A026731 A026764
KEYWORD
nonn
AUTHOR
Ilya Gutkovskiy, Apr 22 2021
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 18 21:51 EDT 2024. Contains 371781 sequences. (Running on oeis4.)