Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A105224
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A105224 Number of squares between n and 2n inclusive. +0
2
1, 1, 1, 1, 1, 1, 1, 2, 2, 1, 1, 1, 2, 2, 2, 2, 1, 2, 2, 2, 2, 2, 2, 2, 3, 2, 2, 2, 2, 2, 2, 3, 3, 3, 3, 3, 2, 2, 2, 2, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 4, 4, 4, 4, 3, 3, 3, 3, 3, 3, 3, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 3, 3, 3, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 5, 5, 5, 4, 4, 4, 4, 4 (list; graph; listen)
OFFSET

1,8

COMMENT

a(n)>=1 because between n and 2n there is always at least one square.

FORMULA

a(n) = A000196(2n) - A000196(n-1).

EXAMPLE

a(8)=2 because between 8 and 16 there are two squares: 3^2 and 4^2.

MATHEMATICA

f[n_] := Floor[Sqrt[n]]; Table[f[2n] - f[n - 1], {n, 100}]

CROSSREFS

Cf. A000196, A105223.

Sequence in context: A000999 A025451 A006513 this_sequence A047070 A071127 A029381

Adjacent sequences: A105221 A105222 A105223 this_sequence A105225 A105226 A105227

KEYWORD

easy,nonn

AUTHOR

Giovanni Teofilatto (g.teofilatto(AT)tiscalinet.it), Apr 14 2005

EXTENSIONS

Edited and extended by Ray Chandler (rayjchandler(AT)sbcglobal.net), Apr 16 2005

page 1

Search completed in 0.002 seconds

Lookup | Welcome | Find friends | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Transforms | Puzzles | Hot | Classics
More pages | Superseeker | Maintained by N. J. A. Sloane (njas@research.att.com)

Last modified July 24 12:00 EDT 2008. Contains 142294 sequences.


AT&T Labs Research