login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A362500 Number of symmetric compositions of n where differences between adjacent parts are in {-1,1}. 3
1, 1, 1, 1, 2, 2, 1, 3, 3, 2, 3, 4, 2, 5, 6, 3, 5, 7, 5, 8, 8, 8, 8, 12, 10, 12, 14, 15, 16, 21, 17, 23, 24, 27, 28, 37, 34, 43, 43, 51, 51, 66, 63, 80, 78, 97, 97, 122, 116, 150, 146, 183, 179, 229, 220, 277, 276, 344, 337, 430, 413, 528, 516, 652, 635 (list; graph; refs; listen; history; text; internal format)
OFFSET
0,5
COMMENTS
a(n) and A173258(n) have the same parity.
LINKS
John Tyler Rascoe, Python program
EXAMPLE
The a(9) = 2 through a(14) = 6 compositions:
(9) (10) (11) (12) (13) (14)
(12321) (343) (434) (23232) (454) (545)
(1212121) (32123) (32323) (23432)
(2121212) (2123212) (1232321)
(121212121) (3212123)
(212121212)
PROG
(Python) # see linked program
CROSSREFS
Cf. A016116 (symmetric compositions).
Cf. A173258 (compositions where differences between adjacent parts are in {-1,1}).
Sequence in context: A269501 A254044 A274515 * A291564 A029266 A325035
KEYWORD
nonn
AUTHOR
John Tyler Rascoe, Apr 22 2023
STATUS
approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified May 4 02:59 EDT 2024. Contains 372225 sequences. (Running on oeis4.)