OFFSET
1,2
COMMENTS
In the prime number decomposition of k=A002808(n), one instance of the largest prime, pmax=A052369(n), is replaced by pmax+3 and one instance of the smallest prime, pmin=A056608(n), is replaced by pmin-1. a(n) is the product of this modified set of factors if nonprime. The case of n=1, k=4, is the only case where this modified product (2+3)*(2-1)=5 is prime and listed as a(1)=1.
FORMULA
EXAMPLE
n-th composite
n & factorization transformed product
- --------------- --------------------------
1 4 = 2*2 (2-1)*(2+3) = 1*5 = 5 (prime)
2 6 = 2*3 (2-1)*(3+3) = 1*6 = 6 = a(2)
3 8 = 2*2*2 (2-1)*2*(2+3) = 1*2*5 = 10 = a(3)
4 9 = 3*3 (3-1)*(3+3) = 2*6 = 12 = a(4)
5 10 = 2*5 (2-1)*(5+3) = 1*8 = 8 = a(5)
6 12 = 2*2*3 (2-1)*2*(3+3) = 1*2*6 = 12 = a(6)
7 14 = 2*7 (2-1)*(7+3) = 1*10 = 10 = a(7)
CROSSREFS
KEYWORD
nonn
AUTHOR
Juri-Stepan Gerasimov, Aug 08 2008
EXTENSIONS
Edited by R. J. Mathar, Aug 14 2008
Further edits by Jon E. Schoenfield, Feb 20 2021
STATUS
approved