The following warnings occurred:
Warning [2] count(): Parameter must be an array or an object that implements Countable - Line: 795 - File: showthread.php PHP 7.4.33 (FreeBSD)
File Line Function
/showthread.php 795 errorHandler->error





Post Reply 
(38G) OEIS A116966 & A116996
04-07-2015, 08:58 AM (This post was last modified: 06-15-2017 01:55 PM by Gene.)
Post: #1
(38G) OEIS A116966 & A116996
The programme N13245 sets up the Sequence App to produce A116966 in U1 & the partial sums (A116996) in U2.

http://oeis.org/A116966

http://oeis.org/A116996

The sub-programme SEQSET cleans the Sequence App & sets flags as I prefer.

N13245

RUN SEQSET:
RECURSE(U,(N-1)+IFTE(U3(N-1)==1,2,IFTE(U3(N-1)==2,0,1)),1,3)►U1(N):
CHECK 1:
RECURSE(U,N*(N+1)/2+IFTE(U3(N)==2,1,0),1,4)►U2(N):
CHECK 2:
RECURSE(U,N MOD 4,1,2)►U3(N):

SEQSET

SELECT Sequence:
UNCHECK 0:
0►NumFont:
0►Simult:
2►Angle:
1►InvCross:
1►NumStep:
1►Format:
1►NumCol:
1►NumStart:
6►NumRow:
RECURSE(U,0,0,0)►U1(N):
Ans►U2(N):
Ans►U3(N):
Ans►U4(N):
Ans►U5(N):
Ans►U6(N):
Ans►U7(N):
Ans►U8(N):
Ans►U9(N):
Ans►U0(N):
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
(38G) OEIS A116966 & A116996 - Gerald H - 04-07-2015 08:58 AM



User(s) browsing this thread: 1 Guest(s)