We’re rewarding the question askers & reputations are being recalculated! Read more.

2 deleted 3 characters in body

R, 2320 bytes, depth 11, A194964 from A242681

1+floor(scan()/sqrt(5^.5))


The next answer should match the following terms:

1, 1, 2, 2, 3, 3, 4, 4, 5, 5, 5


The sequence A194964 gives for each n the result of 1+[n/sqrt(5)] where [ means "floor". The R function takes input as stdin.

R, 23 bytes, depth 11, A194964 from A242681

1+floor(scan()/sqrt(5))


The next answer should match the following terms:

1, 1, 2, 2, 3, 3, 4, 4, 5, 5, 5


The sequence A194964 gives for each n the result of 1+[n/sqrt(5)] where [ means "floor". The R function takes input as stdin.

R, 20 bytes, depth 11, A194964 from A242681

1+floor(scan()/5^.5)


The next answer should match the following terms:

1, 1, 2, 2, 3, 3, 4, 4, 5, 5, 5


The sequence A194964 gives for each n the result of 1+[n/sqrt(5)] where [ means "floor". The R function takes input as stdin.

1

R, 23 bytes, depth 11, A194964 from A242681

1+floor(scan()/sqrt(5))


The next answer should match the following terms:

1, 1, 2, 2, 3, 3, 4, 4, 5, 5, 5


The sequence A194964 gives for each n the result of 1+[n/sqrt(5)] where [ means "floor". The R function takes input as stdin.