OFFSET
1,4
COMMENTS
Numerator of n / A356867(n).
LINKS
Antti Karttunen, Table of n, a(n) for n = 1..19683
FORMULA
a(n) = n / A365463(n).
PROG
(PARI)
up_to = 19683;
A356867list(up_to) = { my(v=vector(up_to), met=Map(), h=0, ak); for(i=1, #v, if(1==vecsum(digits(i, 3)), v[i] = i; h = i, ak = v[i-h]; forprime(p=2, , if(3!=p && !mapisdefined(met, p*ak), v[i] = p*ak; break))); mapput(met, v[i], i)); (v); };
v356867 = A356867list(up_to);
A356867(n) = v356867[n];
CROSSREFS
KEYWORD
nonn,frac
AUTHOR
Antti Karttunen, Sep 15 2023
STATUS
approved