Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A121382
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A121382 Number of ways of writing n as pqr, with p<=q<=r and (p,q)=(q,r)=1. +0
2
1, 1, 1, 1, 1, 2, 1, 1, 1, 2, 1, 2, 1, 2, 2, 1, 1, 2, 1, 2, 2, 2, 1, 3, 1, 2, 1, 2, 1, 5, 1, 1, 2, 2, 2, 2, 1, 2, 2, 2, 1, 5, 1, 2, 2, 2, 1, 3, 1, 2, 2, 2, 1, 2, 2, 2, 2, 2, 1, 7, 1, 2, 2, 1, 2, 5, 1, 2, 2, 5, 1, 2, 1, 2, 2, 2, 2, 5, 1, 3, 1, 2, 1, 6, 2, 2, 2, 2, 1, 6, 2, 2, 2, 2, 2, 3, 1, 2, 2, 2, 1, 5, 1, 2, 5 (list; graph; listen)
OFFSET

1,6

COMMENT

3-factor analogue of A007875 Number of ways of writing n as pq, with p<=q, (p,q)=1.

a(n) = 1 iff n is a power prime (A000961).

EXAMPLE

a(4) = 1 because 4 = 1*1*4.

a(6) = 2 because 6 = 1*1*6 = 1*2*3.

a(24) = 3 because 24 = 1*1*24 = 1*3*8 = 2*3*4.

a(30) = 5 because 30 = 1*1*30 = 1*2*15 = 1*3*10 = 1*5*6 = 2*3*5.

MATHEMATICA

f[n_] := Block[{d = Divisors@n, m = DivisorSigma[0, n], s = {}}, If[m == 2, 1, Do[ AppendTo[s, {d[[p]], d[[q]], d[[r]]}], {r, m}, {q, r}, {p, q}]; Length@ Select[s, Times @@ # == n && GCD[ #[[1]], #[[2]]] == GCD[ #[[2]], #[[3]]] == 1 &]]]; Array[f, 105] (* Robert G. Wilson v *)

CROSSREFS

Cf. A000040, A001248, A001358, A007304, A007875, A030078.

First occurrence of k: A122829.

Sequence in context: A096825 A007875 A050320 this_sequence A051265 A008647 A036475

Adjacent sequences: A121379 A121380 A121381 this_sequence A121383 A121384 A121385

KEYWORD

easy,nonn

AUTHOR

Jonathan Vos Post (jvospost3(AT)gmail.com), Sep 06 2006

EXTENSIONS

Edited, corrected and extended by Robert G. Wilson v Sep 11 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 December 11 12:57 EST 2009. Contains 170656 sequences.


AT&T Labs Research