The OEIS mourns the passing of Jim Simons and is grateful to the Simons Foundation for its support of research in many branches of science, including the OEIS.
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!)
A347399 a(n) = A347398(n^n). 1
1, 5, 28, 261, 3126, 46688, 823544, 16777477, 387420517, 10000003386, 285311670612, 8916117272416, 302875106592254, 11112006826381820, 437893890380862528, 18446744073726329093, 827240261886336764178, 39346408075296925042857 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,2
COMMENTS
This sequence is different from A062796.
LINKS
FORMULA
a(n) = A347397(n^n) - A347397(n^n-1) for n > 1.
a(n) = Sum_{k=1..n, k^k | n^n} k^k.
If p is prime, a(p) = 1 + p^p.
PROG
(PARI) a(n) = sum(k=1, n, (n^n%k^k==0)*k^k);
CROSSREFS
Sequence in context: A238981 A163694 A062796 * A353009 A343573 A359700
KEYWORD
nonn
AUTHOR
Seiichi Manyama, Aug 30 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 June 6 16:50 EDT 2024. Contains 373133 sequences. (Running on oeis4.)