Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A123477
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A123477 Expansion of (1-b(q))/3 in powers of q where b(q) is the second cubic AGM analog function. +0
2
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, -3, 1, -1, 3, 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, -3, 1, -1, 3, 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

A005928(n)=-3a(n) if n>0. A113063(n)=|a(n)|.

Adjacent sequences: A123474 A123475 A123476 this_sequence A123478 A123479 A123480

Sequence in context: A048105 A040081 A113063 this_sequence A035225 A035219 A106347

KEYWORD

sign,mult

AUTHOR

Michael Somos, Sep 27 2006

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 October 12 12:19 EDT 2008. Contains 144830 sequences.


AT&T Labs Research