login
The OEIS Foundation is supported by donations from users of the OEIS and by a grant from the Simons Foundation.

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A151984 Numbers that are congruent to {0, 1} mod 64. 3
0, 1, 64, 65, 128, 129, 192, 193, 256, 257, 320, 321, 384, 385, 448, 449, 512, 513, 576, 577, 640, 641, 704, 705, 768, 769, 832, 833, 896, 897, 960, 961, 1024, 1025, 1088, 1089, 1152, 1153, 1216, 1217, 1280, 1281, 1344, 1345, 1408, 1409, 1472, 1473, 1536, 1537 (list; graph; refs; listen; history; text; internal format)
OFFSET

1,3

COMMENTS

Numbers k such that k^2 - k is divisible by 64.

LINKS

Table of n, a(n) for n=1..50.

Index entries for linear recurrences with constant coefficients, signature (1,1,-1).

FORMULA

a(n+1) = Sum_{k>=0} A030308(n,k)*b(k) with b(0)=1, b(k)=2^(n+5) for k > 0. - Philippe Deléham, Oct 17 2011

From Colin Barker, Nov 29 2012: (Start)

a(n) = (-95 - 31*(-1)^n + 64*n)/2.

a(n) = a(n-1) + a(n-2) - a(n-3).

G.f.: x^2*(63*x+1)/((x-1)^2*(x+1)). (End)

MATHEMATICA

Flatten[{#, #+1}&/@(64 Range[30])]  (* Harvey P. Dale, Feb 01 2011 *)

PROG

(PARI) forstep(n=0, 400, [1, 63], print1(n", ")) \\ Charles R Greathouse IV, Oct 17 2011

CROSSREFS

Sequence in context: A291965 A255570 A255571 * A194769 A217846 A135124

Adjacent sequences:  A151981 A151982 A151983 * A151985 A151986 A151987

KEYWORD

nonn,easy

AUTHOR

N. J. A. Sloane, Aug 23 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 | Recent
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified May 27 18:56 EDT 2020. Contains 334664 sequences. (Running on oeis4.)