Post Reply 
HP Prime: Connel Sequence
03-10-2015, 03:33 PM
Post: #1
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.

           
Find all posts by this user
Quote this message in a reply
03-10-2015, 03:59 PM
Post: #2
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).
Find all posts by this user
Quote this message in a reply
03-10-2015, 04:40 PM
Post: #3
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.
   
Find all posts by this user
Quote this message in a reply
03-10-2015, 04:59 PM
Post: #4
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.
Find all posts by this user
Quote this message in a reply
03-11-2015, 09:07 PM (This post was last modified: 03-11-2015 09:08 PM by Thomas Ritschel.)
Post: #5
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.
Find all posts by this user
Quote this message in a reply
03-23-2015, 07:42 AM
Post: #6
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.
Find all posts by this user
Quote this message in a reply
Post Reply 




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