Skip to main content
Commonmark migration
Source Link

#R, 36 bytes

R, 36 bytes

Slightly different approach from Plannapus

->n;a=0;while(n>1){a=a+1;n=log(n)};a 

Uses a right assign to run the code -- so the desired number must precede it. i.e.

10->n;a=0;while(n>1){a=a+1;n=log(n)};a 

#R, 36 bytes

Slightly different approach from Plannapus

->n;a=0;while(n>1){a=a+1;n=log(n)};a 

Uses a right assign to run the code -- so the desired number must precede it. i.e.

10->n;a=0;while(n>1){a=a+1;n=log(n)};a 

R, 36 bytes

Slightly different approach from Plannapus

->n;a=0;while(n>1){a=a+1;n=log(n)};a 

Uses a right assign to run the code -- so the desired number must precede it. i.e.

10->n;a=0;while(n>1){a=a+1;n=log(n)};a 
Source Link

#R, 36 bytes

Slightly different approach from Plannapus

->n;a=0;while(n>1){a=a+1;n=log(n)};a 

Uses a right assign to run the code -- so the desired number must precede it. i.e.

10->n;a=0;while(n>1){a=a+1;n=log(n)};a