OFFSET
1,1
COMMENTS
LINKS
Michael De Vlieger, Table of n, a(n) for n = 1..10000
EXAMPLE
For n=1, k(1) = 4 = (p_max=2)*(p_min=2), so a(1) = (2-1)*(2+2) = 1*4 = 4;
for n=2, k(2) = 6 = (p_max=3)*(p_min=2), so a(2) = (3-1)*(2+2) = 2*4 = 8;
for n=3, k(3) = 8 = (p_max=2)*(p=2)*(p_min=2), so a(3) = (2-1)*2*(2+2) = 1*2*4 = 8; etc.
MATHEMATICA
Map[Times @@ Flatten[{#[[1]] + 2, #[[2 ;; -2]], #[[-1]] - 1}] &@ Flatten[ConstantArray[#1, #2] & @@@ FactorInteger[#]] &, Select[Range[120], CompositeQ]] (* Michael De Vlieger, Jan 25 2023 *)
CROSSREFS
KEYWORD
nonn
AUTHOR
Juri-Stepan Gerasimov, Aug 08 2008
EXTENSIONS
Definition and examples corrected and entries checked by R. J. Mathar, Mar 29 2010
Simplified by Jon E. Schoenfield, Jan 25 2023
STATUS
approved