Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A035532
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A035532 a(n) = 2*phi(n) if n composite, or 2*phi(n) - (A000120(n)-1) if n prime;. +0
1
1, 2, 3, 4, 7, 4, 10, 8, 12, 8, 18, 8, 22, 12, 16, 16, 31, 12, 34, 16, 24, 20, 41, 16, 40, 24, 36, 24, 53, 16, 56, 32, 40, 32, 48, 24, 70, 36, 48, 32, 78, 24, 81, 40, 48, 44, 88, 32, 84, 40, 64, 48, 101, 36, 80, 48, 72, 56, 112, 32, 116, 60, 72, 64, 96, 40, 130, 64, 88, 48, 137 (list; graph; listen)
OFFSET

1,2

FORMULA

G.f.: Sum A005187(n) x^n = Sum a(n)*x^n/(1-x^n).

MATHEMATICA

Insert[Table[If[PrimeQ[n], 2*EulerPhi[n] - DigitCount[n, 2][[1]] + 1, 2*EulerPhi[n]], {n, 2, 100}], 1, 1] - Stefan Steinerberger (stefan.steinerberger(AT)gmail.com), Apr 11 2006

CROSSREFS

Sequence in context: A139072 A021430 A138676 this_sequence A123498 A123502 A073209

Adjacent sequences: A035529 A035530 A035531 this_sequence A035533 A035534 A035535

KEYWORD

nonn,easy,nice

AUTHOR

Daniele Parisse (daniele.parisse(AT)m.dasa.de)

EXTENSIONS

More terms from James A. Sellers (sellersj(AT)math.psu.edu)

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 December 7 23:50 EST 2009. Contains 170430 sequences.


AT&T Labs Research