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-3 of 3 results.

A043332 Duplicate of A023702.

Original entry on oeis.org

80, 161, 188, 215, 224, 233, 236, 239, 240, 241, 323, 404, 431, 458, 467
Offset: 1

Views

Author

Keywords

A117592 a(n) = a(3n) = a(3n+1) = a(3n+2)/2 with a(0)=1.

Original entry on oeis.org

1, 1, 2, 1, 1, 2, 2, 2, 4, 1, 1, 2, 1, 1, 2, 2, 2, 4, 2, 2, 4, 2, 2, 4, 4, 4, 8, 1, 1, 2, 1, 1, 2, 2, 2, 4, 1, 1, 2, 1, 1, 2, 2, 2, 4, 2, 2, 4, 2, 2, 4, 4, 4, 8, 2, 2, 4, 2, 2, 4, 4, 4, 8, 2, 2, 4, 2, 2, 4, 4, 4
Offset: 0

Views

Author

Paul Barry, Apr 05 2006

Keywords

Comments

Row sums of number triangle A117944.
Product of the nonzero digits of (n written in base 3). - Ilya Gutkovskiy, Nov 15 2020
a(n) = 1, 2, 4, 8, 16, 32, 64 iff n is respectively in A005836, A023699, A023700, A023701, A023702, A023703, A023704. - Bernard Schott, Dec 04 2020

Crossrefs

See A338882 for similar sequences.
Cf. A081603 (log_2), A117942 (signed), A117944.

Programs

  • Mathematica
    Nest[ Join[#, #, 2#] &, {1}, 5] (* Robert G. Wilson v, Jul 27 2014 *)
  • PARI
    a(n) = 1 << hammingweight(digits(n,3)>>1); \\ Kevin Ryde, Nov 15 2020
    
  • Python
    from gmpy2 import digits
    def A117592(n): return 1<Chai Wah Wu, Dec 05 2024

Formula

a(n) = a(3n)/a(0) = a(3n+1)/a(1) = a(3n+2)/a(2).
a(n) = abs(A117942(n)).
G.f. A(x) satisfies: A(x) = (1 + x + 2*x^2) * A(x^3). - Ilya Gutkovskiy, Nov 15 2020
a(n) = 2^A081603(n). - Kevin Ryde, Nov 15 2020

Extensions

a(0) = 1 added to the Name by Bernard Schott, Dec 04 2020

A009805 Expansion of e.g.f. tanh(sinh(x)*sin(x))/2 in odd powers of x^2.

Original entry on oeis.org

1, -124, 262096, -2681078464, 83993259325696, -6291889632188161024, 963296773204704677810176, -270352239123704851078462357504, 128399592149905444543967414059073536, -97061880731293117665388947647693059784704, 111259126741155511631646423576320132328299954176
Offset: 0

Views

Author

Keywords

Examples

			x^2/2! - 124*x^6/6! + 262096*x^10/10! - 2681078464*x^14/14! ...
		

Crossrefs

Cf. A023702.

Programs

  • Mathematica
    Tanh[ Sinh[ x ]*Sin[ x ] ]/2 (* [ x^(4n+2) ] *)
    With[{nn=34},Take[CoefficientList[Series[Tanh[Sinh[x]Sin[x]]/2,{x,0,nn}],x] Range[0,nn]!,{3,-1,4}]] (* Harvey P. Dale, May 28 2019 *)
  • PARI
    seq(n)={my(A=O(x^(4*n+2))); Vec(substpol(serlaplace( tanh(sinh(x + A)*sin(x + A))/2 )/x^2, x^4, x))} \\ Andrew Howroyd, Jan 12 2025

Extensions

Extended with signs by Olivier Gérard, Mar 15 1997
a(9) onwards from Andrew Howroyd, Jan 12 2025
Showing 1-3 of 3 results.