Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A076827
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A076827 Number of odd terms minus number of even terms in the set S(n) = ( A002977(k) : k<=n). +0
1
1, 2, 1, 2, 3, 2, 3, 4, 5, 6, 5, 6, 5, 6, 7, 6, 7, 8, 7, 8, 9, 8, 9, 8, 9, 10, 11, 10, 11, 12, 13, 14, 13, 14, 15, 16, 15, 16, 17, 18, 17, 18, 17, 18, 19, 20, 21, 20, 21, 20, 21, 22, 23, 24, 23, 24, 23, 24, 25, 26, 27, 26, 27, 26, 27, 28, 27, 28, 29, 28, 29, 30, 29, 30, 29, 30, 31 (list; graph; listen)
OFFSET

1,2

FORMULA

a(n)=(-1)*sum(k=1, n, (-1)^ A002977(k) ); a(n) > 0 and a(n) seems asymptotic to c*n where c = 0.4...

EXAMPLE

S(12)=(1,3,4,7,9,10,13,15,19,21,22,27) there are 9 odd terms and 3 even terms in S(12), hence a(12)=9-3=6

CROSSREFS

Sequence in context: A070086 A036576 A127255 this_sequence A119994 A029167 A108380

Adjacent sequences: A076824 A076825 A076826 this_sequence A076828 A076829 A076830

KEYWORD

nonn

AUTHOR

Benoit Cloitre (benoit7848c(AT)orange.fr), Nov 20 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 September 7 23:08 EDT 2008. Contains 143486 sequences.


AT&T Labs Research