Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A113063
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A113063 Associated with theta series of hexagonal net with respect to a node. +0
3
1, 0, 2, 1, 0, 0, 2, 0, 2, 0, 0, 2, 2, 0, 0, 1, 0, 0, 2, 0, 4, 0, 0, 0, 1, 0, 2, 2, 0, 0, 2, 0, 0, 0, 0, 2, 2, 0, 4, 0, 0, 0, 2, 0, 0, 0, 0, 2, 3, 0, 0, 2, 0, 0, 0, 0, 4, 0, 0, 0, 2, 0, 4, 1, 0, 0, 2, 0, 0, 0, 0, 0, 2, 0, 2, 2, 0, 0, 2, 0, 2, 0, 0, 4, 0, 0, 0, 0, 0, 0, 4, 0, 4, 0, 0, 0, 2, 0, 0, 1, 0, 0, 2, 0, 0 (list; graph; listen)
OFFSET

1,3

FORMULA

Moebius transform is period 9 sequence [1, -1, 1, 1, -1, -1, 1, -1, 0, ...].

a(n) is multiplicative and a(p^e) = 2 if p = 3 and e>0, a(p^e) = e+1 if p == 1 (mod 6), a(p^e) = (1+(-1)^e)/2 if p == 2, 5 (mod 6).

a(3n+2)=0. a(3n+1)=A033687(n), a(3n)=2*A002324(n).

PROGRAM

(PARI) a(n)=if(n<1, 0, sumdiv(n, d, [0, 1, -1, 1, 1, -1, -1, 1, -1][d%9+1]))

(PARI) {a(n)=local(A, p, e); if(n<1, 0, A=factor(n); prod(k=1, matsize(A)[1], if(p=A[k, 1], e=A[k, 2]; if(p==3, 2, if(p%6==1, e+1, !(e%2))))))}

CROSSREFS

A113062(n)=3a(n) if n>0.

Sequence in context: A155103 A048105 A040081 this_sequence A123477 A035225 A035219

Adjacent sequences: A113060 A113061 A113062 this_sequence A113064 A113065 A113066

KEYWORD

nonn,mult

AUTHOR

Michael Somos, Oct 13 2005

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 25 20:09 EST 2009. Contains 167514 sequences.


AT&T Labs Research