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!)
A133623 Binomial(n+p, n) mod n where p=3. 19
0, 0, 2, 3, 1, 0, 1, 5, 4, 6, 1, 11, 1, 8, 6, 9, 1, 16, 1, 11, 8, 12, 1, 21, 1, 14, 10, 15, 1, 26, 1, 17, 12, 18, 1, 31, 1, 20, 14, 21, 1, 36, 1, 23, 16, 24, 1, 41, 1, 26, 18, 27, 1, 46, 1, 29, 20, 30, 1, 51, 1, 32, 22, 33, 1, 56, 1, 35, 24, 36, 1, 61, 1, 38, 26, 39, 1, 66, 1, 41, 28, 42, 1 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,3
COMMENTS
Let d(m)...d(2)d(1)d(0) be the base-n representation of n+p. The relation a(n)=d(1) holds, if n is a prime index. For this reason there are infinitely many terms which are equal to 1.
Appears to satisfy the recurrence: a(n) = -2*a(n-1) - a(n-2) + 2*a(n-3) + 4*a(n-4) + 2*a(n-5) - a(n-6) - 2*a(n-7) - a(n-8) for n > 14. - Chai Wah Wu, May 25 2016
LINKS
FORMULA
a(n) = binomial(n+3,3) mod n.
a(n)=1 if n is a prime > 3, since binomial(n+3,n)==(1+floor(3/n))(mod n), provided n is a prime.
From Chai Wah Wu, May 26 2016: (Start)
a(n) = (n^3 + 5*n + 6)/6 mod n.
For n > 6:
if n mod 6 == 0, then a(n) = 5*n/6 + 1.
if n mod 6 is in {1, 5}, then a(n) = 1.
if n mod 6 is in {2, 4}, then a(n) = n/2 + 1.
if n mod 6 == 3, then a(n) = n/3 + 1.
(End)
MATHEMATICA
Table[Mod[Binomial[n+3, n], n], {n, 90}] (* Harvey P. Dale, Nov 22 2011 *)
CROSSREFS
Sequence in context: A006705 A031269 A006703 * A065862 A368495 A189117
KEYWORD
nonn
AUTHOR
Hieronymus Fischer, Sep 30 2007
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 May 4 02:59 EDT 2024. Contains 372225 sequences. (Running on oeis4.)