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!)
A039975 An example of a d-perfect sequence: a(n) = A006318(n-1) mod 3. 1

%I #16 Feb 13 2019 18:03:35

%S 1,2,0,1,0,1,0,2,0,1,0,0,0,0,0,0,0,1,0,2,0,1,0,1,0,2,0,1,0,0,0,0,0,0,

%T 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,2,0,1,0,1,0,2,0,1,0,0,0,0,

%U 0,0,0,1,0,2,0,1,0,1,0,2,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0

%N An example of a d-perfect sequence: a(n) = A006318(n-1) mod 3.

%H Antti Karttunen, <a href="/A039975/b039975.txt">Table of n, a(n) for n = 1..11000</a>

%H D. Kohel, S. Ling and C. Xing, <a href="http://www.maths.usyd.edu.au/u/kohel/doc/perfect.ps">Explicit Sequence Expansions</a>, in Sequences and their Applications, C. Ding, T. Helleseth, and H. Niederreiter, eds., Proceedings of SETA'98 (Singapore, 1998), 308-317, 1999. DOI: 10.1007/978-1-4471-0551-0_23

%F a(n) = A006318(n-1) mod 3. - _Christian G. Bower_, Jun 12 2005

%o (PARI)

%o A006318(n) = if( n<1, 1, sum( k=0, n, 2^k * binomial( n, k) * binomial( n, k-1)) / n);

%o A039975(n) = (A006318(n-1) % 3); \\ _Antti Karttunen_, Feb 13 2019

%Y Cf. A006318.

%Y Cf. also A039969.

%K nonn

%O 1,2

%A _N. J. A. Sloane_.

%E More terms from _Christian G. Bower_, Jun 12 2005

%E Bower's formula added to the name by _Antti Karttunen_, Feb 13 2019

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 May 2 19:04 EDT 2024. Contains 372203 sequences. (Running on oeis4.)