HP Prime: Connel Sequence
03-10-2015, 03:33 PM
Post: #1
 Gerald H Senior Member Posts: 1,452 Joined: May 2014
HP Prime: Connel Sequence
Connel sequence or

http://oeis.org/A001614

Here the symbolics of a sequence app to show

Column 1: Connel sequence

Column 2: Partial sums of column 1

Column 3: Numbers missing from the Connel sequence

Column 4: Partial sums of column 3.

I don't know a better way of showing the symbolics than with screen shots.

03-10-2015, 03:59 PM
Post: #2
 Gerald H Senior Member Posts: 1,452 Joined: May 2014
RE: HP Prime: Connel Sequence
Now the complaint:

For N=32000 all columns are correct.

For N=40000 all columns show NaN.

The 38G gives correct values for 40000 (& in fact for 1000000).
03-10-2015, 04:40 PM
Post: #3
 Didier Lachieze Senior Member Posts: 1,233 Joined: Dec 2013
RE: HP Prime: Connel Sequence
(03-10-2015 03:59 PM)Gerald H Wrote:  Now the complaint:

For N=32000 all columns are correct.

For N=40000 all columns show NaN.

The 38G gives correct values for 40000 (& in fact for 1000000).

NaN start at N=32768 which is exactly 32K, so it may be linked to some internal variable/memory limitation.

03-10-2015, 04:59 PM
Post: #4
 Gerald H Senior Member Posts: 1,452 Joined: May 2014
RE: HP Prime: Connel Sequence
(03-10-2015 04:40 PM)Didier Lachieze Wrote:
(03-10-2015 03:59 PM)Gerald H Wrote:  Now the complaint:

For N=32000 all columns are correct.

For N=40000 all columns show NaN.

The 38G gives correct values for 40000 (& in fact for 1000000).

NaN start at N=32768 which is exactly 32K, so it may be linked to some internal variable/memory limitation.

Yes, & the values for 32767 are all correct.
03-11-2015, 09:07 PM (This post was last modified: 03-11-2015 09:08 PM by Thomas Ritschel.)
Post: #5
 Thomas Ritschel Member Posts: 66 Joined: Feb 2014
RE: HP Prime: Connel Sequence
(03-10-2015 04:59 PM)Gerald H Wrote:
(03-10-2015 04:40 PM)Didier Lachieze Wrote:  NaN start at N=32768 which is exactly 32K, so it may be linked to some internal variable/memory limitation.

Yes, & the values for 32767 are all correct.

Obviously the problem seems to exist for all sequences if the index N gets higher than 32767 (= 2^15-1). Also for simple sequences like U1(N)=N or even U1(N)=1. So, most likely a limitation issue for the index variable.
03-23-2015, 07:42 AM
Post: #6
 Gerald H Senior Member Posts: 1,452 Joined: May 2014
RE: HP Prime: Connel Sequence
(03-11-2015 09:07 PM)Thomas Ritschel Wrote:
(03-10-2015 04:59 PM)Gerald H Wrote:  Yes, & the values for 32767 are all correct.

Obviously the problem seems to exist for all sequences if the index N gets higher than 32767 (= 2^15-1). Also for simple sequences like U1(N)=N or even U1(N)=1. So, most likely a limitation issue for the index variable.

An innovative limitation - the 39gii can go up to 65536.
 « Next Oldest | Next Newest »

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