cp's OEIS Frontend

This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.

A274101 a(n) = nearest integer to k*sin(sqrt(k)+j*Pi/2) where n = 4*k+j, 0<=j<4.

This page as a plain text file.
%I A274101 #14 Jun 20 2016 19:39:16
%S A274101 0,0,0,0,1,1,-1,-1,2,0,-2,0,3,0,-3,0,4,-2,-4,2,4,-3,-4,3,4,-5,-4,5,3,
%T A274101 -6,-3,6,2,-8,-2,8,1,-9,-1,9,0,-10,0,10,-2,-11,2,11,-4,-11,4,11,-6,
%U A274101 -12,6,12,-8,-12,8,12,-10,-11,10,11,-12,-10,12,10,-14,-9,14,9,-16,-8,16,8,-18,-7,18,7,-19,-5
%N A274101 a(n) = nearest integer to k*sin(sqrt(k)+j*Pi/2) where n = 4*k+j, 0<=j<4.
%H A274101 N. J. A. Sloane, <a href="/A274101/b274101.txt">Table of n, a(n) for n = 0..10000</a>
%p A274101 Digits:=50:
%p A274101 ft:=proc(n,t) local k,j;
%p A274101 j:=(n mod t); k:=(n-j)/t;
%p A274101 round(evalf(k*sin(sqrt(k)+j*Pi/2)));
%p A274101 end;
%p A274101 [seq(ft(n,4),n=0..120)];
%Y A274101 Sequences of the same type: A272695, A274086, A274087, A274088, A274090, A274091, A274092, A274095, A274096, A274097, A274101, A274102.
%K A274101 sign
%O A274101 0,9
%A A274101 _N. J. A. Sloane_, Jun 11 2016
%E A274101 Definition corrected by _N. J. A. Sloane_, Jun 20 2016