|
| |
|
|
A080883
|
|
Distance of n to next square.
|
|
6
| |
|
|
1, 3, 2, 1, 5, 4, 3, 2, 1, 7, 6, 5, 4, 3, 2, 1, 9, 8, 7, 6, 5, 4, 3, 2, 1, 11, 10, 9, 8, 7, 6, 5, 4, 3, 2, 1, 13, 12, 11, 10, 9, 8, 7, 6, 5, 4, 3, 2, 1, 15, 14, 13, 12, 11, 10, 9, 8, 7, 6, 5, 4, 3, 2, 1, 17, 16, 15, 14, 13, 12, 11, 10, 9, 8, 7, 6, 5, 4, 3, 2, 1, 19, 18, 17, 16, 15, 14, 13
(list; graph; refs; listen; history; internal format)
|
|
|
|
OFFSET
| 0,2
|
|
|
COMMENTS
| The following sequences all have the same parity: A004737, A006590, A027052, A071028, A071797, A078358, A078446, A080883. - Jeremy Gardiner (jeremy.gardiner(AT)btinternet.com), Dec 30 2006
|
|
|
FORMULA
| [ sqrt(n)+1 ]^2-n.
|
|
|
MAPLE
| A080883 := proc(n) (floor(sqrt(n)+1))^2 -n ; end: seq( A080883(n), n=0..40) ; [From R. J. Mathar (mathar(AT)strw.leidenuniv.nl), Aug 08 2009]
|
|
|
CROSSREFS
| Cf. A075555.
Cf. A066635, A053188. [From R. J. Mathar (mathar(AT)strw.leidenuniv.nl), Aug 08 2009]
Sequence in context: A183162 A019587 A102427 * A021315 A068389 A091597
Adjacent sequences: A080880 A080881 A080882 * A080884 A080885 A080886
|
|
|
KEYWORD
| nonn,easy
|
|
|
AUTHOR
| Ralf Stephan (ralf(AT)ark.in-berlin.de), Mar 29 2003
|
| |
|
|