OFFSET
1,8
COMMENTS
For the given terms, nearly all n for which a(n) obtains a new maximum are multiples of eight. Only 18, 36 and 45 are not.
LINKS
Antti Karttunen, Table of n, a(n) for n = 1..65537
EXAMPLE
f(8) = 4 and f(9) = 3. For 1, 2, 3, 5 and 7, f(k) = 1, so a(8) = a(9) = 5.
PROG
(PARI)
A007947(n) = factorback(factorint(n)[, 1]);
A144776(n) = if(n<2, 0, my(x=f(n)); if(!isprime(n)&&(x>=n), 0, sum(k=1, n-1, (f(k)<x)))); \\ Antti Karttunen, Jul 03 2018
CROSSREFS
KEYWORD
easy,nonn
AUTHOR
Reikku Kulon, Sep 21 2008
STATUS
approved