HP Forums
HP Prime: Connel Sequence - Printable Version

+- HP Forums (https://www.hpmuseum.org/forum)
+-- Forum: HP Calculators (and very old HP Computers) (/forum-3.html)
+--- Forum: HP Prime (/forum-5.html)
+--- Thread: HP Prime: Connel Sequence (/thread-3332.html)



HP Prime: Connel Sequence - Gerald H - 03-10-2015 03:33 PM

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.

[attachment=1769][attachment=1770][attachment=1771]


RE: HP Prime: Connel Sequence - Gerald H - 03-10-2015 03:59 PM

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).


RE: HP Prime: Connel Sequence - Didier Lachieze - 03-10-2015 04:40 PM

(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.
[attachment=1772]


RE: HP Prime: Connel Sequence - Gerald H - 03-10-2015 04:59 PM

(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.


RE: HP Prime: Connel Sequence - Thomas Ritschel - 03-11-2015 09:07 PM

(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.


RE: HP Prime: Connel Sequence - Gerald H - 03-23-2015 07:42 AM

(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.