HP Forums
(38G) Stern's Diatomic Sequence - Printable Version

+- HP Forums (https://www.hpmuseum.org/forum)
+-- Forum: HP Software Libraries (/forum-10.html)
+--- Forum: General Software Library (/forum-13.html)
+--- Thread: (38G) Stern's Diatomic Sequence (/thread-3426.html)



(38G) Stern's Diatomic Sequence - Gerald H - 03-19-2015 07:40 AM

The programme inserts symbolics in the sequence aplet that reproduce the sequence

http://oeis.org/A002487

RECURSE(U,(2*INT(U(N-2)/U(N-1))+1)*U(N-1)-U(N-2),0,1)►U1(N):
CHECK 1: