Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A082784
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A082784 Characteristic function of multiples of 7. +0
4
1, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0 (list; graph; listen)
OFFSET

0,1

COMMENT

a(0)=1, a(n)=0 for 1<=n<7, a(n+7)=a(n).

LINKS

Index entries for characteristic functions

FORMULA

a(n) = 0^(n mod 7).

a(n)=(1/147)*[ -20*(n mod 7)+((n+1) mod 7)+((n+2) mod 7)+((n+3) mod 7)+((n+4) mod 7)+((n+5) mod 7)+22*((n+6) mod 7)] - Paolo P. Lava (ppl(AT)spl.at), Sep 29 2006

a(n)=-1*((n^6 mod 7)-1) - Paolo P. Lava (ppl(AT)spl.at), Oct 02 2006

EXAMPLE

a(14)=a(2*7)=1; a(41)=a(5*7+6)=0.

CROSSREFS

Cf. A008589, A076309.

Sequence in context: A015283 A014548 A015087 this_sequence A105165 A058342 A014045

Adjacent sequences: A082781 A082782 A082783 this_sequence A082785 A082786 A082787

KEYWORD

nonn

AUTHOR

Reinhard Zumkeller (reinhard.zumkeller(AT)gmail.com), May 22 2003

page 1

Search completed in 0.002 seconds

Lookup | Welcome | Find friends | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Transforms | Puzzles | Hot | Classics
More pages | Superseeker | Maintained by N. J. A. Sloane (njas@research.att.com)

Last modified November 24 19:42 EST 2009. Contains 167435 sequences.


AT&T Labs Research