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.

A165367 Trisection a(n) = A026741(3n + 2).

This page as a plain text file.
%I A165367 #23 Oct 11 2023 15:18:28
%S A165367 1,5,4,11,7,17,10,23,13,29,16,35,19,41,22,47,25,53,28,59,31,65,34,71,
%T A165367 37,77,40,83,43,89,46,95,49,101,52,107,55,113,58,119,61,125,64,131,67,
%U A165367 137,70,143,73,149,76,155,79,161,82,167,85,173,88,179,91,185,94,191,97,197
%N A165367 Trisection a(n) = A026741(3n + 2).
%C A165367 The other trisections are A165351 and A165355.
%H A165367 John M. Campbell, <a href="http://arxiv.org/abs/1105.3399">An Integral Representation of Kekulé Numbers, and Double Integrals Related to Smarandache Sequences</a>, arXiv preprint arXiv:1105.3399 [math.GM], 2011.
%H A165367 <a href="/index/Rec#order_04">Index entries for linear recurrences with constant coefficients</a>, signature (0,2,0,-1)
%F A165367 a(n)*A022998(n) = A045944(n).
%F A165367 a(n)*A026741(n+1) = A000326(n+1).
%F A165367 a(2n) = A016777(n); a(2n+1) = A016969(n).
%F A165367 From _R. J. Mathar_ Nov 22 2009: (Start)
%F A165367 a(n) = 2*a(n-2) - a(n-4).
%F A165367 G.f.: (1 + 5*x + 2*x^2 + x^3)/((1-x)^2*(1+x)^2). (End)
%p A165367 A026741 := proc(n) if type(n,'odd') then n; else n/2 ; fi; end:
%p A165367 A165367 := proc(n) A026741(3*n+2) ; end: seq(A165367(n),n=0..100) ; # _R. J. Mathar_, Nov 22 2009
%t A165367 LinearRecurrence[{0, 2, 0, -1}, {1, 5, 4, 11}, 66] (* _Jean-François Alcover_, Nov 15 2017 *)
%o A165367 (PARI) a(n) = (3*n+2)>>!(n%2); \\ _Ruud H.G. van Tol_, Oct 09 2023
%Y A165367 Cf. A000326, A016777, A016969, A022998, A026741, A045944, A165351, A165355.
%K A165367 nonn,easy
%O A165367 0,2
%A A165367 _Paul Curtz_, Sep 17 2009
%E A165367 All comments rewritten as formulas by _R. J. Mathar_, Nov 22 2009