Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A078461
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A078461 a(n) = 0 if n is divisible by the square of odd prime, a(n) = 1 if n is an odd square-free number, a(n) = 2 otherwise. +0
1
1, 2, 1, 2, 1, 2, 1, 2, 0, 2, 1, 2, 1, 2, 1, 2, 1, 0, 1, 2, 1, 2, 1, 2, 0, 2, 0, 2, 1, 2, 1, 2, 1, 2, 1, 0, 1, 2, 1, 2, 1, 2, 1, 2, 0, 2, 1, 2, 0, 0, 1, 2, 1, 0, 1, 2, 1, 2, 1, 2, 1, 2, 0, 2, 1, 2, 1, 2, 1, 2, 1, 0, 1, 2, 0, 2, 1, 2, 1, 2, 0, 2, 1, 2, 1, 2, 1, 2, 1, 0, 1, 2, 1, 2, 1, 2, 1, 0, 0, 0, 1, 2, 1, 2, 1 (list; graph; listen)
OFFSET

1,2

FORMULA

Dirichlet g.f.: zeta(s)/zeta(2s)*2^s/(2^s-1). - Ralf Stephan, Jun 17 2007

PROGRAM

(PARI) a(n)=if(n<1, 0, direuler(p=2, n, if(p%2==1, 1+X, if(p%2, 1, (1+X)/(1-X))))[n])

CROSSREFS

Cf. A038838, A056911.

Sequence in context: A062754 A045888 A107279 this_sequence A111621 A140195 A022927

Adjacent sequences: A078458 A078459 A078460 this_sequence A078462 A078463 A078464

KEYWORD

mult,nonn

AUTHOR

Benoit Cloitre (benoit7848c(AT)orange.fr), Dec 31 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 July 24 12:00 EDT 2008. Contains 142294 sequences.


AT&T Labs Research