Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A087060
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A087060 Difference between 2 * n^2 and the nearest square number. +0
6
1, 1, 2, 4, 1, 8, 2, 7, 7, 4, 14, 1, 14, 8, 9, 17, 2, 23, 7, 16, 18, 7, 31, 4, 25, 17, 14, 32, 1, 36, 14, 23, 31, 8, 49, 9, 34, 28, 17, 49, 2, 47, 23, 28, 46, 7, 62, 16, 41, 41, 18, 68, 7, 56, 34, 31, 63, 4, 73, 25, 46, 56, 17, 89, 14, 63, 47, 32, 82, 1, 82, 36, 49, 73, 14, 103, 23, 68 (list; graph; listen)
OFFSET

1,3

FORMULA

A087060(n) = min [A087056(n), A087059(n)] = min [2*n^2 - (floor[n*sqrt(2)])^2, (1 + floor[n*sqrt(2)])^2 - 2*n^2]

EXAMPLE

A087060(10) = 4 because the difference between 2*10^2 = 200 and the nearest square number (196) is 4.

CROSSREFS

Cf. A001951, A087055, A087056, A087057, A087058, A087059.

Sequence in context: A121531 A127554 A103324 this_sequence A065278 A112931 A121685

Adjacent sequences: A087057 A087058 A087059 this_sequence A087061 A087062 A087063

KEYWORD

easy,nonn

AUTHOR

Jens Voss (jens(AT)voss-ahrensburg.de), Aug 07 2003

page 1

Search completed in 0.003 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 November 27 22:38 EST 2009. Contains 167602 sequences.


AT&T Labs Research