OFFSET
1,6
LINKS
Antti Karttunen, Table of n, a(n) for n = 1..16384
EXAMPLE
For n = 45 = 3^2 * 5, the prime factors are 3 and 5, thus a(45) = (3*5) - (2*4) = 15 - 8 = 7.
Sum_{k=1..n} a(k) ~ c * n^2 / 2, where c = A065463 - A307868 = 0.232761... . - Amiram Eldar, Dec 07 2023
PROG
CROSSREFS
KEYWORD
nonn
AUTHOR
Antti Karttunen, Aug 26 2018
EXTENSIONS
Corrected the notation in the definition - Antti Karttunen, Feb 03 2024
STATUS
approved