Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A120881
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A120881 a(n) = number of k's, for 1 <= k <= n, where GCD(k,floor(n/k)) > 1. +0
2
0, 0, 0, 1, 1, 0, 0, 2, 3, 2, 2, 2, 2, 1, 1, 4, 4, 4, 4, 5, 4, 3, 3, 5, 6, 5, 7, 8, 8, 3, 3, 7, 7, 6, 6, 8, 8, 7, 6, 9, 9, 6, 6, 7, 9, 8, 8, 11, 12, 12, 12, 13, 13, 14, 13, 15, 14, 13, 13, 11, 11, 10, 11, 16, 16, 12, 12, 13, 13, 10, 10, 15, 15, 14, 15, 16, 16, 13, 13, 17 (list; graph; listen)
OFFSET

1,8

COMMENT

A120881(n) + A120882(n) = n.

EXAMPLE

For n = 8, we have the pairs {k,floor(n/k)} of {1,8},{2,4},{3,2},{4,2},{5,1},{6,1},{7,1},{8,1}. From these pairs we get the GCD's of 1,2,1,2,1,1,1,1. 2 of these GCD's are > 1. So a(8)= 2.

MATHEMATICA

Table[Length[Select[Table[GCD[k, Floor[n/k]], {k, 1, n}], # > 1 &]], {n, 1, 80}] - Stefan Steinerberger (stefan.steinerberger(AT)gmail.com), Jul 23 2006

CROSSREFS

Cf. A120882.

Adjacent sequences: A120878 A120879 A120880 this_sequence A120882 A120883 A120884

Sequence in context: A128830 A090387 A030329 this_sequence A031217 A078545 A111497

KEYWORD

more,nonn

AUTHOR

Leroy Quet (qq-quet(AT)mindspring.com), Jul 12 2006

EXTENSIONS

More terms from Stefan Steinerberger (stefan.steinerberger(AT)gmail.com), Jul 23 2006

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 October 11 13:47 EDT 2008. Contains 144830 sequences.


AT&T Labs Research