login
The OEIS Foundation is supported by donations from users of the OEIS and by a grant from the Simons Foundation.

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A079643 a(n) = floor(n/floor(sqrt(n))). 3
1, 2, 3, 2, 2, 3, 3, 4, 3, 3, 3, 4, 4, 4, 5, 4, 4, 4, 4, 5, 5, 5, 5, 6, 5, 5, 5, 5, 5, 6, 6, 6, 6, 6, 7, 6, 6, 6, 6, 6, 6, 7, 7, 7, 7, 7, 7, 8, 7, 7, 7, 7, 7, 7, 7, 8, 8, 8, 8, 8, 8, 8, 9, 8, 8, 8, 8, 8, 8, 8, 8, 9, 9, 9, 9, 9, 9, 9, 9, 10, 9, 9, 9, 9, 9, 9, 9, 9, 9, 10, 10, 10, 10, 10, 10, 10, 10, 10, 11 (list; graph; refs; listen; history; text; internal format)
OFFSET

1,2

COMMENTS

a(n) > a(n+1) iff n = m^2 - 1 with m >= 2; that is the answer to the 4th problem of the 32nd British Mathematical Olympiad (1996) [See link BMO]. - Bernard Schott, Oct 28 2019

REFERENCES

A. Gardiner, The Mathematical Olympiad Handbook: An Introduction to Problem Solving, Oxford University Press, 1997, reprinted 2011, Pb 4 pp. 54 and 92-93 (1996).

LINKS

Giovanni Resta, Table of n, a(n) for n = 1..10000

British Mathematical Olympiad, 1996 - Problem 4

Index to sequences related to Olympiads.

FORMULA

a(A064801(n)) = sqrtint(A064801(n)); a(A005563(n)) = 2+sqrtint(sqrt(A005563(n))).

For m = positive integer, terms a(m^2) through a(m^2+m-1) each equal m; terms a(m^2+m) through a(m^2+2m-1) each equal m+1; term a(m^2+2m) equals m+2. - Leroy Quet, Apr 02 2007

a(n) = floor(2*sqrt(n+1)) - floor(sqrt(n)). - Wesley Ivan Hurt, Dec 25 2020

MATHEMATICA

Table[Floor[n/Floor[Sqrt[n]]], {n, 100}] (* Harvey P. Dale, Sep 22 2011 *)

PROG

(PARI) a(n)=floor(n/sqrtint(n))

CROSSREFS

Cf. A000196, A005563, A064801.

Sequence in context: A079294 A242789 A076733 * A329317 A118480 A104377

Adjacent sequences:  A079640 A079641 A079642 * A079644 A079645 A079646

KEYWORD

nonn,easy

AUTHOR

Benoit Cloitre, Jan 31 2003

STATUS

approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recent
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified May 17 16:03 EDT 2021. Contains 343980 sequences. (Running on oeis4.)