Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A060794
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A060794 Difference between upper and lower central divisors of n. +0
1
1, 2, 1, 4, 1, 6, 2, 2, 3, 10, 1, 12, 5, 2, 2, 16, 3, 18, 1, 4, 9, 22, 2, 4, 11, 6, 3, 28, 1, 30, 4, 8, 15, 2, 2, 36, 17, 10, 3, 40, 1, 42, 7, 4, 21, 46, 2, 6, 5, 14, 9, 52, 3, 6, 1, 16, 27, 58, 4, 60, 29, 2, 4, 8, 5, 66, 13, 20, 3, 70, 1, 72, 35, 10, 15, 4, 7, 78, 2, 6, 39, 82, 5, 12, 41, 26 (list; graph; listen)
OFFSET

2,2

LINKS

Harry J. Smith, Table of n, a(n) for n=2,...,1000

EXAMPLE

Difference between upper and lower central divisors may be small or relatively large. So neither A060775 nor A033677 are always good central divisors as to their magnitude. n=182,D={1,2,7,13,14,26,91,182}; central divisors={13,14}, difference=1. n=254, D={1,2,127,254}, central divisors={2,127}, a(254)=125. n=p, D={1,p}. Here the central divisors are also marginal ones: a(p)=p-1.

MATHEMATICA

a(n)=Part[Divisors[n], 1+cd[n]]-Part[Divisors[n], cd[n]], where cd[x_] := cd[x_] := Floor[DivisorSigma[0, x]/2]

PROGRAM

(PARI) { for (n=2, 1000, d=divisors(n); write("b060794.txt", n, " ", d[1 + length(d)\2] - d[length(d)\2]); ) } [From Harry J. Smith (hjsmithh(AT)sbcglobal.net), Jul 12 2009]

CROSSREFS

a(n)=A033677(n)-A060775(n).

Cf. A060775-A060777, A033677, A000196.

Sequence in context: A147064 A147228 A074643 this_sequence A074919 A138009 A131755

Adjacent sequences: A060791 A060792 A060793 this_sequence A060795 A060796 A060797

KEYWORD

nonn

AUTHOR

Labos E. (labos(AT)ana.sote.hu), Apr 27 2001

page 1

Search completed in 0.005 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 25 20:09 EST 2009. Contains 167514 sequences.


AT&T Labs Research