Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A058026
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A058026 Number of positive integers, k, where k <= n and GCD(k,n) = GCD(k+1,n) = 1. +0
4
1, 0, 1, 0, 3, 0, 5, 0, 3, 0, 9, 0, 11, 0, 3, 0, 15, 0, 17, 0, 5, 0, 21, 0, 15, 0, 9, 0, 27, 0, 29, 0, 9, 0, 15, 0, 35, 0, 11, 0, 39, 0, 41, 0, 9, 0, 45, 0, 35, 0, 15, 0, 51, 0, 27, 0, 17, 0, 57, 0, 59, 0, 15, 0, 33, 0, 65, 0, 21, 0, 69, 0, 71, 0, 15, 0, 45, 0, 77, 0, 27, 0, 81, 0, 45, 0, 27, 0 (list; graph; listen)
OFFSET

1,5

LINKS

Leroy Quet, Home Page (listed in lieu of email address)

FORMULA

Multiplicative with a(p^e) = p^(e-1)*(p-2). - Vladeta Jovovic (vladeta(AT)eunet.rs), Dec 01 2001

Sum_{d|n} n/d*mu(d)*tau(d). - Vladeta Jovovic (vladeta(AT)eunet.rs), Apr 29 2002

a(n) = Sum_{d divides n} phi(n/d)*(-1)^omega(d). - Vladeta Jovovic (vladeta(AT)eunet.rs), Sep 26 2002

EXAMPLE

a(15) = 3 because 1 and 2, 7 and 8 and 13 and 14 are all relatively prime to 15.

a(15) = a(3*5) = a(3)*a(5) = 3^0*(3-2)*5^0*(5-2) = 3.

CROSSREFS

Cf. A070554, A069828.

Sequence in context: A122274 A003966 A123931 this_sequence A004605 A086664 A164736

Adjacent sequences: A058023 A058024 A058025 this_sequence A058027 A058028 A058029

KEYWORD

nonn,mult

AUTHOR

Leroy Quet Nov 15 2000

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 15 00:47 EST 2009. Contains 170825 sequences.


AT&T Labs Research