[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

Revision History for A003242 (Bold, blue-underlined text is an addition; faded, red-underlined text is a deletion.)

Showing entries 1-10 | older changes
Number of compositions of n such that no two adjacent parts are equal (these are sometimes called Carlitz compositions).
(history; published version)
#124 by Harvey P. Dale at Sat Nov 23 15:33:43 EST 2024
STATUS

editing

approved

#123 by Harvey P. Dale at Sat Nov 23 15:33:39 EST 2024
MATHEMATICA

Table[Count[Flatten[Permutations/@IntegerPartitions[n], 1], _?(FreeQ[Differences[#], 0]&)], {n, 0, 20}] (* The program generates the first 21 terms of the sequence. *) (* Harvey P. Dale, Nov 23 2024 *)

STATUS

approved

editing

#122 by N. J. A. Sloane at Fri Aug 16 20:51:37 EDT 2024
STATUS

editing

approved

#121 by N. J. A. Sloane at Fri Aug 16 20:51:35 EDT 2024
NAME

Number of compositions of n such that no two adjacent parts are equal (these are sometimes called Carlitz compositions).

STATUS

approved

editing

#120 by Alois P. Heinz at Fri Oct 27 18:27:45 EDT 2023
STATUS

editing

approved

#119 by Alois P. Heinz at Fri Oct 27 18:27:41 EDT 2023
LINKS

Christian G. Bower and Alois P. Heinz, <a href="/A003242/b003242.txt">Table of n, a(n) for n = 0..4100</a> (first 501 terms from Christian G. Bower)

STATUS

approved

editing

#118 by Michael De Vlieger at Wed Aug 23 08:34:57 EDT 2023
STATUS

proposed

approved

#117 by Michel Marcus at Wed Aug 23 05:42:30 EDT 2023
STATUS

editing

proposed

#116 by Michel Marcus at Wed Aug 23 05:42:26 EDT 2023
LINKS

Steven R. Finch, <a href="http://arxiv.org/abs/2001.00578">Errata and Addenda to Mathematical Constants</a>, arXiv:2001.00578 [math.HO], 2020-2022, p. 42 and 117.

STATUS

approved

editing

#115 by Joerg Arndt at Tue May 24 10:08:42 EDT 2022
COMMENTS

For N=2n+k, with k even and k>n, a(n) is the number of Carlitz palindromic compositions having k as a central summand. For N=2n+1+k, with k odd and k>n, a(n) is the number of palindromic compositions having k as a central summand. - Gregory L. Simay, May 15 2022

EXAMPLE

Enumerate the Carlitz palindrome compositions of 13 for which the central summand is the greatest part: 13; 1,11,1; 2,9,2; 3,7,3 & 2,1,7,1,2 & 1,2,7,2,1; and 4,5,4 & 3,1,5,1,3 & 1,3,5,3,1 & 1,2,1,5,1,2,1. Note that in these instances, the number of Carlitz palindromes so enumerated is 1+1+1+3+4 = a(0) + a(1) + a(2) + a(3) + a(4). - Gregory L. Simay, May 15 2022

CROSSREFS

Cf. A239327, Carlitz palindromic compositions. -Gregory L. Simay, May 07 2022

KEYWORD

nonn,nice,changed

STATUS

editing

approved