login
This site is supported by donations to The OEIS Foundation.

 

Logo

Thanks to everyone who made a donation during our annual appeal!
To see the list of donors, or make a donation, see the OEIS Foundation home page.

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 n such that n^2 - n 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. - From Philippe Deléham, Oct 17 2011.

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)). [Colin Barker, Nov 29 2012]

MATHEMATICA

Flatten[{#, #+1}&/@(64 Range[30])]  [From 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 January 17 22:51 EST 2019. Contains 319251 sequences. (Running on oeis4.)