login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A323259 a(n) is the Y-coordinate of the n-th point of the first type of Wunderlich curve (starting at the origin and occupying the first quadrant). 3

%I #13 Feb 12 2020 14:17:30

%S 0,0,0,1,1,1,2,2,2,3,4,5,5,4,3,3,4,5,6,6,6,7,7,7,8,8,8,8,7,6,6,7,8,8,

%T 7,6,5,5,5,4,4,4,3,3,3,2,1,0,0,1,2,2,1,0,0,0,0,1,1,1,2,2,2,3,4,5,5,4,

%U 3,3,4,5,6,6,6,7,7,7,8,8,8,9,10,11,11,10

%N a(n) is the Y-coordinate of the n-th point of the first type of Wunderlich curve (starting at the origin and occupying the first quadrant).

%H Rémy Sigrist, <a href="/A323259/b323259.txt">Table of n, a(n) for n = 1..6561</a>

%H <a href="/index/Con#coordinates_2D_curves">Index entries for sequences related to coordinates of 2D curves</a>

%o (PARI) s = [0, 1, 2, 2+I, 1+I, I, 2*I, 1+2*I, 2+2*I];

%o w = apply(z -> imag(z) + I*real(z), s);

%o r = [0, 1, 0, 3, 2, 3, 0, 1, 0]

%o a(n) = {

%o my (d=if (n>1, Vecrev(digits(n-1, 9)), [0]), z=s[1+d[1]]);

%o for (i=2, #d,

%o my (c=(3^(i-1)-1)/2*(1+I));

%o z = 3^(i-1) * w[1+d[i]] + c + (z-c) * I^r[1+d[i]];

%o );

%o return (imag(z));

%o }

%Y See A323258 for the X-coordinate and additional comments.

%K nonn

%O 1,7

%A _Rémy Sigrist_, Jan 09 2019

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

License Agreements, Terms of Use, Privacy Policy. .

Last modified April 19 21:09 EDT 2024. Contains 371798 sequences. (Running on oeis4.)