OFFSET
1,2
COMMENTS
a(n) is a power of 2 if and only if n is a term of A087441.
LINKS
Antti Karttunen, Table of n, a(n) for n = 1..16384
PROG
(PARI) A324291(n) = if(1==n, 1, my(f=factor(n), m=1); for(i=1, #f[, 1], m *= prime(1+((n-1)%(f[i, 1]-1)))); (m));
CROSSREFS
KEYWORD
nonn
AUTHOR
Antti Karttunen, Feb 23 2019
STATUS
approved