MoI discussion forum
MoI discussion forum

Full Version: Generate a sequence by loop nodes

Show messages: All  1-2  3-10

From: bemfarmer
16 Sep 2022   [#3]
The Progression should have a base of 11, and a Factor of 1.
Going to work, no time to study now.
- Brian

Javascript code:
https://www.geeksforgeeks.org/program-for-nth-fibonacci-number/

The nth term of an arithmetic sequence
https://www.alamo.edu/contentassets/afe30946fa58450c89840c1173f3b9d0/sequences/math1314-arithmetic-sequences.pdf
From: Frenchy Pilou (PILOU)
16 Sep 2022   [#4]
Maybe this can help



Left Click on the Title of the Math node for obtain Edit Properties!

From: 1mi8
16 Sep 2022   [#5] In reply to [#3]
Thank you for your detailed reply.

I think I gave a too regular examples. If the sequence is {1,8,20,b,c,... }, becomes {1,9,29,29+b,29+b+c,... }.

The point of the question is, I didn't use the loop node correctly or the loop node has bug.
From: 1mi8
16 Sep 2022   [#6] In reply to [#4]
Thank you for your detailed reply.

But the sequence I want to generate is not limited to 5 or 8 numbers, and I hope to calculate more numbers.

I think maybe I didn't use the loop node correctly, or the loop node has bug.

When I'm dealing with objects or vectors, the loop node works correctly.
From: WN
16 Sep 2022   [#7]
Hi all.

Try this.

https://disk.yandex.ru/d/TxQgdTTMVRMs2g

image host

C:\Users\User\AppData\Roaming\Moi\nodeeditor\nodes\extensions

Copy the file to this location using the link. This is for Windows.

image host

Message 10850.8 was deleted


From: 1mi8
16 Sep 2022   [#9] In reply to [#7]
That's great. Thanks for sharing.

This is the node I really want.
From: Frenchy Pilou (PILOU)
16 Sep 2022   [#10]
Very compact! Excellent!

Show messages: All  1-2  3-10