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.

A358520 Nearest integer to n/sin(n).

This page as a plain text file.
%I A358520 #34 Dec 12 2022 09:14:59
%S A358520 1,2,21,-5,-5,-21,11,8,22,-18,-11,-22,31,14,23,-56,-18,-24,127,22,25,
%T A358520 -2486,-27,-27,-189,34,28,103,-44,-30,-77,58,33,64,-82,-36,-57,128,40,
%U A358520 54,-258,-46,-52,2486,53,51,380,-62,-51,-191,76,53,134,-97
%N A358520 Nearest integer to n/sin(n).
%C A358520 It is also the nearest integer to sinc(x)^(-1) function.
%H A358520 Bence BernĂ¡th, <a href="/A358520/b358520.txt">Table of n, a(n) for n = 1..10000</a>
%H A358520 Wikipedia, <a href="https://en.wikipedia.org/wiki/Sinc_function">Sinc function</a>
%e A358520 For n=3, 3/sin(3) = 21.25..., therefore a(3) = 21.
%t A358520 Table[Round[n/Sin[n]], {n, 1, 100}]
%o A358520 (PARI) a(n) = round(n/sin(n)); \\ _Michel Marcus_, Nov 20 2022
%Y A358520 Cf. A272695, A051422, A105666.
%Y A358520 Cf. A046947 (Values for n where abs(a(n))/n has records).
%K A358520 sign,look
%O A358520 1,2
%A A358520 _Bence BernĂ¡th_, Nov 20 2022