The OEIS mourns the passing of Jim Simons and is grateful to the Simons Foundation for its support of research in many branches of science, including the OEIS.
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!)
A332415 a(n) is the number of distinct valid solutions taking into account the ambiguity of open and closed absolute value bars for an input of -1 to -2*(n)-1 with absolute value bars between each (|-1|, |-1|-2|-3|, |-1|-2|-3|-4|-5|, etc.). 0
1, 2, 5, 13, 39, 124, 403, 1304, 4301, 14370, 47575, 157153, 512311, 1663977, 5446573 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,2
COMMENTS
a(5) is the solution to Jim Propp's submitted problem published in FiveThirtyEight's "The Riddler" column.
LINKS
FiveThirtyEight, Problem origin
EXAMPLE
For n = 2 (input of |-1|-2|-3|-4|-5|) the solutions are 5 and -5, so a(2) = 2.
CROSSREFS
Sequence in context: A151446 A239106 A022894 * A149861 A148305 A104447
KEYWORD
nonn,more
AUTHOR
Tyler Barron, Feb 12 2020
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 15 17:15 EDT 2024. Contains 372548 sequences. (Running on oeis4.)