login
The OEIS Foundation is supported by donations from users of the OEIS and by a grant from the Simons Foundation.

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A104193 a(n) = prime(n) - Carmichael lambda(n). 0
1, 2, 3, 5, 7, 11, 11, 17, 17, 25, 21, 35, 29, 37, 43, 49, 43, 55, 49, 67, 67, 69, 61, 87, 77, 89, 85, 101, 81, 109, 97, 123, 127, 123, 137, 145, 121, 145, 155, 169, 139, 175, 149, 183, 185, 177, 165, 219, 185, 209, 217, 227, 189, 233, 237, 257, 251, 243, 219, 277 (list; graph; refs; listen; history; text; internal format)
OFFSET

1,2

LINKS

Table of n, a(n) for n=1..60.

FORMULA

a(n) = A000040(n) - A002322(n). - Michel Marcus, Mar 18 2016

MATHEMATICA

a= Table[Prime[n] - CarmichaelLambda[n], {n, 1, 200}]

PROG

(PARI) a(n) = prime(n) - lcm(znstar(n)[2]); \\ Michel Marcus, Mar 18 2016

CROSSREFS

Cf. A000040, A002322.

Sequence in context: A104192 A290639 A262061 * A242694 A117288 A117283

Adjacent sequences:  A104190 A104191 A104192 * A104194 A104195 A104196

KEYWORD

nonn

AUTHOR

Roger L. Bagula, Mar 12 2005

STATUS

approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recent
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified July 14 09:22 EDT 2020. Contains 335720 sequences. (Running on oeis4.)