Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A096397
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A096397 a(n) = #{ 1<=i<=n : k(n,i)=-1 } where k(n,i) is the Kronecker symbol. +0
1
0, 0, 1, 0, 2, 0, 1, 2, 0, 1, 4, 2, 6, 1, 1, 0, 8, 3, 8, 4, 6, 4, 8, 4, 0, 3, 9, 6, 14, 2, 9, 8, 10, 6, 10, 0, 18, 6, 6, 8, 20, 4, 21, 10, 12, 9, 18, 8, 0, 9, 14, 12, 26, 8, 11, 12, 18, 13, 26, 8, 30, 11, 17, 0, 24, 6, 34, 16, 22, 10, 28, 12, 36, 13, 18, 18, 30, 10, 28, 16, 0, 18, 39, 12, 32 (list; graph; listen)
OFFSET

1,5

PROGRAM

(PARI) a(n)=sum(i=1, n, if(kronecker(n, i)+1, 0, 1))

CROSSREFS

Cf. A000010, A051953.

Sequence in context: A141100 A058685 A029300 this_sequence A103919 A035445 A053603

Adjacent sequences: A096394 A096395 A096396 this_sequence A096398 A096399 A096400

KEYWORD

nonn

AUTHOR

Benoit Cloitre (benoit7848c(AT)orange.fr), Aug 06 2004

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 4 23:11 EST 2009. Contains 170347 sequences.


AT&T Labs Research