All about flooble | fun stuff | Get a free chatterbox | Free JavaScript | Avatars    
perplexus dot info

Home > Just Math
Pick Up More Sticks (Posted on 2025-05-27) Difficulty: 3 of 5
You have N sticks with lengths 1, 2, 3, ..., N.
Provide a closed form function in terms of N for the number of distinct valid triangles can you make from these N sticks.

note: reflections and rotations are considered to be the same, and valid triangles must have positive area.

Inspired by 5, 6, Pick Up Sticks

See The Solution Submitted by Larry    
No Rating

Comments: ( Back to comment list | You must be logged in to post comments.)
Solution re: computer solution Comment 2 of 2 |
(In reply to computer solution by Charlie)

Another formula (for alternating signs) under A002623 looks a bit simpler than the modified Jerry W. Lewis formula. 


Adjusted to make it not alternate signs, for offset and simplified, it's:

 5*N / 12  - 3*N^2 / 8 + N^3 / 12 - 1/16 + (-1)^N / 16

Edited on May 27, 2025, 10:30 am
  Posted by Charlie on 2025-05-27 10:29:01

Please log in:
Login:
Password:
Remember me:
Sign up! | Forgot password


Search:
Search body:
Forums (1)
Newest Problems
Random Problem
FAQ | About This Site
Site Statistics
New Comments (5)
Unsolved Problems
Top Rated Problems
This month's top
Most Commented On

Chatterbox:
Copyright © 2002 - 2025 by Animus Pactum Consulting. All rights reserved. Privacy Information