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!)
A319290 The y coordinates of the shell enumeration of N X N where N = {0, 1, 2, ...}(A319514). 5
0, 1, 1, 0, 0, 1, 2, 2, 2, 3, 3, 3, 3, 2, 1, 0, 0, 1, 2, 3, 4, 4, 4, 4, 4, 5, 5, 5, 5, 5, 5, 4, 3, 2, 1, 0, 0, 1, 2, 3, 4, 5, 6, 6, 6, 6, 6, 6, 6, 7, 7, 7, 7, 7, 7, 7, 7, 6, 5, 4, 3, 2, 1, 0, 0, 1, 2, 3, 4, 5, 6, 7, 8, 8, 8, 8, 8, 8, 8, 8, 8, 9, 9, 9, 9, 9, 9 (list; graph; refs; listen; history; text; internal format)
OFFSET

0,7

COMMENTS

See A319514 for comments and references.

LINKS

Peter Luschny, Table of n, a(n) for n = 0..10000

PROG

(Julia)

function A319290(n)

    m = x = isqrt(n)

    y = n - x^2

    x <= y && ((x, y) = (2x - y, x))

    isodd(m) ? x : y

end

CROSSREFS

Cf. A319514.

Sequence in context: A292995 A037179 A127971 * A230516 A192688 A156752

Adjacent sequences:  A319287 A319288 A319289 * A319291 A319292 A319293

KEYWORD

nonn

AUTHOR

Peter Luschny, Sep 23 2018

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 7 23:48 EDT 2021. Contains 343652 sequences. (Running on oeis4.)