#๐ how many triangles in a larger triangle algorithm help
43 messages ยท Page 1 of 1 (latest)
@ebon solstice
Remember to:
- Ask your Python question, not if you can ask or if there's an expert who can help.
- Show a code sample as text (rather than a screenshot) and the error message, if you've got one.
- Explain what you expect to happen and what actually happens.
:warning: Do not pip install anything that isn't related to your question, especially if asked to over DMs.
well - how do you count them?
i guess the start point is having a way of defining the triangle size... i'd say it's a "size 3" triangle
ye thats right
with a size 1 triangle, there are... 1 triangles
so how does that break down - a large, then 4 small?
yes but my problem is how would i make it for n
yes. so we're figuring out how it works
ah alr
how many smalls for a size 3?
yes
the only pattern i found was that theres n^2 small ones and 1 large one
those are size 1, 2, 3 and 4 triangles?
so i think there's always 3x the next size down
i only see 6x 2
there's an upside down one as well
where do i go from here so it has:
16x 1
7x 2
3x 3
1x 4
where is the anothe x3 size in num 4 i only see 3?
if this is true then its just suared numbers?
Read the article for the algorithm
ok
hmmm maybe that's true - i just threw it together
ah alr
yeah that's another option - don't think it through, just copy off the internet like Steve says
tbh i cant read math i that articale
Or just read the article and think it through
This help channel has been closed and it's no longer possible to send messages here. If your question wasn't answered, feel free to create a new post in #1035199133436354600. To maximize your chances of getting a response, check out this guide on asking good questions.
๐ how many triangles in a larger triangle algorithm help