login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A171733 a(2n)=A165568(n). a(2n+1)=A165563(n). 2
-1, 1, 1, 7, 31, 41, 137, 151, 391, 409, 889, 911, 1751, 1777, 3121, 3151, 5167, 5201, 8081, 8119, 12079, 12121, 17401, 17447, 24311, 24361, 33097, 33151, 44071, 44129, 57569, 57631, 73951, 74017, 93601, 93671, 116927, 117001, 144361, 144439, 176359, 176441, 213401, 213487, 255991 (list; graph; refs; listen; history; text; internal format)
OFFSET
0,4
LINKS
FORMULA
a(n) = n^3/8 +n^2/16 -15/32 +n^4/16 +(-1)^n*( n^3/8+3*n^2/16-n-17/32 ).
G.f.: ( 1-2*x-4*x^2+2*x^3-18*x^4+2*x^5-4*x^6-2*x^7+x^8 ) / ( (1+x)^4*(-1+x)^5 ).
a(n)= +a(n-1) +4*a(n-2) -4*a(n-3) -6*a(n-4) +6*a(n-5) +4*a(n-6) -4*a(n-7) -a(n-8) +a(n-9).
PROG
(PARI) A171733(n)=if( bittest(n, 0), n, -1-n) +(n\=2)^2 +2*n^3 +n^4
CROSSREFS
Cf. A035287.
Sequence in context: A309381 A276741 A000696 * A128028 A000921 A185004
KEYWORD
sign,easy
AUTHOR
Paul Curtz, Dec 17 2009
STATUS
approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified April 24 20:08 EDT 2024. Contains 371963 sequences. (Running on oeis4.)