A154272 1,0,1 followed by 0,0,0,...
1, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0
Offset: 1
References
- I. Niven, Irrational Numbers, Math. Assoc. Am., John Wiley and Sons, New York, 2nd printing 1963.
Links
- Paul Barry, Centered polygon numbers, heptagons and nonagons, and the Robbins numbers, arXiv:2104.01644 [math.CO], 2021.
- J. H. Conway and S. P. Norton, Monstrous Moonshine, Bull. Lond. Math. Soc. 11 (1979) 308-339.
- D. Ford, J. McKay and S. P. Norton, More on replicable functions, Comm. Algebra 22, No. 13, 5175-5193 (1994).
- J. McKay and H. Strauss, The q-series of monstrous moonshine and the decomposition of the head characters, Comm. Algebra 18 (1990), no. 1, 253-278.
- Franck Ramaharo, A generating polynomial for the pretzel knot, arXiv:1805.10680 [math.CO], 2018.
- Index entries for McKay-Thompson series for Monster simple group
Programs
-
Mathematica
PadRight[{1,0,1},150,0] (* Harvey P. Dale, Jun 14 2017 *)
-
PARI
{a(n) = (n==1) || (n==3)}; /* Michael Somos, Jan 03 2013 */
Formula
a(n)=1 if m(n) = 1/sin(Pi/(2*n)) is a natural number, and 0 otherwise. m(1)=1 and m(3)=2. See the quoted I. Niven book, Corollary 3.12, p.41. - Wolfdieter Lang, Dec 17 2010
Dirichlet g.f. 1+1/3^s. - R. J. Mathar, Mar 12 2012
Euler transform of length 4 sequence [ 0, 1, 0, -1]. - Michael Somos, Aug 04 2009
G.f.: x + x^3 = x / (1 - x^2 / (1 + x^2)) = x * (1 - x^4) / (1 - x^2). - Michael Somos, Jan 03 2013
a(n) = Sum_{d|n} mu(n/d) * tau(gcd(d,3)). - Ridouane Oudra, Apr 28 2025
a(n) = (Sum_{d|n} mu(n/d) * gcd(d,3)) / phi(n). - Ridouane Oudra, Apr 30 2025
Comments