|
| |
|
|
A151983
|
|
Numbers == 0 or 1 mod 32.
|
|
3
|
|
|
|
0, 1, 32, 33, 64, 65, 96, 97, 128, 129, 160, 161, 192, 193, 224, 225, 256, 257, 288, 289, 320, 321, 352, 353, 384, 385, 416, 417, 448, 449, 480, 481, 512, 513, 544, 545, 576, 577, 608, 609, 640, 641, 672, 673, 704, 705, 736, 737, 768, 769, 800, 801, 832, 833, 864, 865
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
|
OFFSET
|
1,3
|
|
|
COMMENTS
|
Numbers n such that n^2 - n is divisible by 32.
|
|
|
LINKS
|
Table of n, a(n) for n=1..56.
Index to sequences with linear recurrences with constant coefficients, signature (1,1,-1).
|
|
|
FORMULA
|
Bruno Berselli, Jan 26 2011: (Start)
G.f.: (1+31*x)*x^2/((1+x)*(1-x)^2); a(n) = a(n-1)+a(n-2)-a(n-3) for n>3.
a(n) = (32*n-15*(-1)^n-47)/2.
Sum[a(k), k=1..n] == 0 (mod A004526(n)) for n>1. (End)
a(n+1)=Sum_k>=0 {A030308(n,k)*b(k)} with b(0)=1, b(k)=2^(k+4) for k>0. - From Philippe Deléham, Oct 2011.
|
|
|
MATHEMATICA
|
Flatten[{#, #+1}&/@(32Range[0, 35])] (* From Harvey P. Dale, Mar 11 2011 *)
|
|
|
PROG
|
(MAGMA) [ n : n in [0..1000] | n mod 32 eq 0 or n mod 32 eq 1] [From Vincenzo Librandi, Jan 26 2011]
|
|
|
CROSSREFS
|
Sequence in context: A054032 A134843 A134844 * A022402 A194768 A217845
Adjacent sequences: A151980 A151981 A151982 * A151984 A151985 A151986
|
|
|
KEYWORD
|
nonn,easy
|
|
|
AUTHOR
|
N. J. A. Sloane, Aug 23 2009
|
|
|
STATUS
|
approved
|
| |
|
|