HP Forums
(95LX) Connell Sequence, OEIS A001614 - Printable Version

+- HP Forums (https://www.hpmuseum.org/forum)
+-- Forum: HP Software Libraries (/forum-10.html)
+--- Forum: General Software Library (/forum-13.html)
+--- Thread: (95LX) Connell Sequence, OEIS A001614 (/thread-5342.html)



(95LX) Connell Sequence, OEIS A001614 - Gerald H - 12-16-2015 11:57 AM

Enter the equation below in Solver application in the built in calculator:
Code:

Connell=2*N-L(u,RND(SQRT(2*N),0))+0*L(SumConnell,N-L(v,G(u)*((6*N+1)-SQ(G(u)))/6)+SQ(N))*SumConnell*L(NotConnell,2*N+G(u))*NotConnell*L(SumNotConnell,N+G(v)+SQ​(N))*SumNotConnell
Solve for Connell, eg for

N = 1234567

Solver returns

Connell = 2467563 (1234567th element of the sequence)
SumConnell = 1522863622439 (sum of first 1234567 elements of the series)
NotConnell = 2470705 (1234567th element of the series of numbers NOT in Connell series)
SumNotConnell = 1525450201673 (sum of first 1234567 numbers NOT in Connell series)