Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A068773
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A068773 Alternating sum eulerphi(1)-eulerphi(2)+eulerphi(3)-eulerphi(4)+...+((-1)^(n+1))*eulerphi(n). +0
2
1, 0, 2, 0, 4, 2, 8, 4, 10, 6, 16, 12, 24, 18, 26, 18, 34, 28, 46, 38, 50, 40, 62, 54, 74, 62, 80, 68, 96, 88, 118, 102, 122, 106, 130, 118, 154, 136, 160, 144, 184, 172, 214, 194, 218, 196, 242, 226, 268, 248, 280, 256, 308, 290, 330, 306, 342, 314, 372, 356 (list; graph; listen)
OFFSET

1,3

FORMULA

a(n) = sum((-1)^(k+1)*eulerphi(k), k=1..n)

EXAMPLE

a(3) = eulerphi(1) - eulerphi(2) + eulerphi(3) = 1 - 1 + 2 = 2.

PROGRAM

(PARI) a068773(m)=local(s, n); s=0; for(n=1, m, if(n%2==0, s=s-eulerphi(n), s=s+eulerphi(n)); print1(s, ", "))

CROSSREFS

Cf. A000010, A067929.

Adjacent sequences: A068770 A068771 A068772 this_sequence A068774 A068775 A068776

Sequence in context: A097945 A083218 A139716 this_sequence A133168 A078909 A067458

KEYWORD

easy,nonn

AUTHOR

Klaus Brockhaus (klaus-brockhaus(AT)t-online.de), Feb 28 2002

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 13:44 EDT 2008. Contains 144830 sequences.


AT&T Labs Research