HP Forums

Full Version: HP Prime: Connel Sequence
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
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]
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 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]
(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-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-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.
Reference URL's