Start with 1. Multiply or divide by n accordingly as a(n-1) is smaller or greater than n and then take the integer value (this is to ensure that a(n) > 0 for all n).
A076039
Start with 1. Multiply or divide by n accordingly as a(n-1) is smaller or greater than n and then take the integer value (this is to ensure that a(n) > 0 for all n).
Terms
- a(0) =1a(1) =2a(2) =6a(3) =1a(4) =5a(5) =30a(6) =4a(7) =32a(8) =3a(9) =30a(10) =2a(11) =24a(12) =1a(13) =14a(14) =210a(15) =13a(16) =221a(17) =12a(18) =228a(19) =11a(20) =231a(21) =10a(22) =230a(23) =9a(24) =225a(25) =8a(26) =216a(27) =7a(28) =203a(29) =6
External references
- oeis: A076039