Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A071860
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A071860 Number of k 1<=k<=n such that sigma(k) is odd. +0
2
1, 2, 2, 3, 3, 3, 3, 4, 5, 5, 5, 5, 5, 5, 5, 6, 6, 7, 7, 7, 7, 7, 7, 7, 8, 8, 8, 8, 8, 8, 8, 9, 9, 9, 9, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 11, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 13, 13, 13, 13, 13, 13, 13, 13, 14, 14, 14, 14, 14, 14, 14, 14, 14, 15 (list; graph; listen)
OFFSET

2,2

COMMENT

a(n) = partial sums of A053866(n-1) and A093709(n-1). [From Jaroslav Krizek (jaroslav.krizek(AT)atlas.cz), Oct 18 2009]

REFERENCES

R. Crandall, C. Pomerance, Prime numbers: a computational perspective. Springer-Verlag, New York, 2001, p. 52.

FORMULA

a(n) = floor( C * sqrt(n) ) +- 1, 0 with C = 1+1/sqrt(2) = 1, 707...

a(n) = floor(sqrt(n)) + floor(sqrt(n/2)). (Crandall, Pomerance). - Franz Vrabec (franz.vrabec(AT)aon.at), Jun 24 2006

PROGRAM

(PARI) for(n=1, 100, print1(sum(i=1, n, if(sigma(i)%2, 1, 0)), ", "))

CROSSREFS

Cf. A028982.

Sequence in context: A108356 A055656 A078571 this_sequence A004788 A034584 A035430

Adjacent sequences: A071857 A071858 A071859 this_sequence A071861 A071862 A071863

KEYWORD

easy,nonn

AUTHOR

Benoit Cloitre (benoit7848c(AT)orange.fr), Jun 09 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 November 30 13:13 EST 2009. Contains 167758 sequences.


AT&T Labs Research