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.

Showing 1-2 of 2 results.

A004273 0 together with odd numbers.

Original entry on oeis.org

0, 1, 3, 5, 7, 9, 11, 13, 15, 17, 19, 21, 23, 25, 27, 29, 31, 33, 35, 37, 39, 41, 43, 45, 47, 49, 51, 53, 55, 57, 59, 61, 63, 65, 67, 69, 71, 73, 75, 77, 79, 81, 83, 85, 87, 89, 91, 93, 95, 97, 99, 101, 103, 105, 107, 109, 111, 113, 115, 117, 119, 121, 123, 125, 127, 129, 131
Offset: 0

Views

Author

Keywords

Comments

Also continued fraction for tanh(1) (A073744 is decimal expansion). - Rick L. Shepherd, Aug 07 2002
From Jaroslav Krizek, May 28 2010: (Start)
For n >= 1, a(n) = numbers k such that arithmetic mean of the first k positive integers is an integer. A040001(a(n)) = 1. See A145051 and A040001.
For n >= 1, a(n) = corresponding values of antiharmonic means to numbers from A016777 (numbers k such that antiharmonic mean of the first k positive integers is an integer).
a(n) = A000330(A016777(n)) / A000217(A016777(n)) = A146535(A016777(n)+1). (End)
If the n-th prime is denoted by p(n) then it appears that a(j) = distinct, increasing values of (Sum of the quadratic non-residues of p(n) - Sum of the quadratic residues of p(n)) / p(n) for each j. - Christopher Hunt Gribble, Oct 05 2010
A214546(a(n)) > 0. - Reinhard Zumkeller, Jul 20 2012
Dimension of the space of weight 2n+2 cusp forms for Gamma_0(6).
The size of a maximal 2-degenerate graph of order n-1 (this class includes 2-trees and maximal outerplanar graphs (MOPs)). - Allan Bickle, Nov 14 2021
Numbers not considered even for the purpose of roulette. J. Lowell, Apr 29 2025

Examples

			G.f. = x + 3*x^2 + 5*x^3 + 7*x^4 + 9*x^5 + 11*x^6 + 13*x^7 + 15*x^8 + 17*x^9 + ...
		

Crossrefs

Cf. A110185, continued fraction expansion of 2*tanh(1/2), and A204877, continued fraction expansion of 3*tanh(1/3). [Bruno Berselli, Jan 26 2012]
Cf. A005408.

Programs

Formula

G.f.: x*(1+x)/(-1+x)^2. - R. J. Mathar, Nov 18 2007
a(n) = lodumo_2(A057427(n)). - Philippe Deléham, Apr 26 2009
Euler transform of length 2 sequence [3, -1]. - Michael Somos, Jul 03 2014
a(n) = (4*n - 1 - (-1)^(2^n))/2. - Luce ETIENNE, Jul 11 2015

A110185 Coefficients of x in the partial quotients of the continued fraction expansion exp(1/x) = [1, x - 1/2, 12*x, 5*x, 28*x, 9*x, 44*x, 13*x, ...]. The partial quotients all have the form a(n)*x except the constant term of 1 and the initial partial quotient which equals (x - 1/2).

Original entry on oeis.org

0, 1, 12, 5, 28, 9, 44, 13, 60, 17, 76, 21, 92, 25, 108, 29, 124, 33, 140, 37, 156, 41, 172, 45, 188, 49, 204, 53, 220, 57, 236, 61, 252, 65, 268, 69, 284, 73, 300, 77, 316, 81, 332, 85, 348, 89, 364, 93, 380, 97, 396, 101, 412, 105, 428, 109, 444, 113, 460, 117, 476
Offset: 0

Views

Author

Paul D. Hanna, Jul 14 2005

Keywords

Comments

Simple continued fraction expansion of 2*(e - 1)/(e + 1) = 2*tanh(1/2) = 1/(1 + 1/(12 + 1/(5 + 1/(28 + ...)))). - Peter Bala, Oct 01 2023

Crossrefs

Cf. continued fraction expansions: A004273 ( tanh(1) ), A204877 ( 3*tanh(1/3) ), A130824 ( tanh(1/2) ).

Programs

  • PARI
    a(n)=polcoeff(x*(1+12*x+3*x^2+4*x^3)/(1-x^2)^2+x*O(x^n),n)

Formula

G.f.: x*((1+3*x^2) + 4*x*(3+x^2))/(1-x^2)^2 = sum_{n>=0} a(n)*x^n.
From Carl R. White, Feb 11 2010: (Start)
a(n) = sign(n) * (2*n+1) * (3*cos(Pi*n)+5)/2.
a(2n+1) = a(2n-1) + 4, a(2n+2) = a(2n) + 16, with a(0)=0, a(1)=1, a(2)=12. (End)
a(n) = (5+3*(-1)^n)*(2*n-1)/2, with a(0)=0. Sum_{i=0..n} a(i) = A085787(A042948(n)). - Bruno Berselli, Jan 20 2012
Showing 1-2 of 2 results.