Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
A077016
a(1) = 1, a(2) = 4, continue by dividing by the smallest prime not used earlier and multiplying with the smallest composite number just greater than the previous prime used in the division and then take the integer part at every step.
1
1, 4, 2, 12, 4, 32, 6, 54, 7, 70, 6, 72, 5, 70, 4, 72, 3, 60, 2, 48, 1, 30, 0
OFFSET
1,2
COMMENTS
a(n) = 0 for n>23. Sequence needs some refinement. Can some improvement be suggested so that no term is zero.
EXAMPLE
a(3) = 4/2 = 2, a(4) = 2*6 = 12, a(5) = 12/3 = 4, a(6) = 4*8 = 32, a(7) = floor(32/5) = 6.
CROSSREFS
Cf. A077015.
Sequence in context: A137447 A353749 A077015 * A191436 A260434 A243344
KEYWORD
fini,more,nonn
AUTHOR
Amarnath Murthy, Oct 28 2002
STATUS
approved