login
This site is supported by donations to The OEIS Foundation.

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A277127 a(n) = n - lambda(n), where lambda(n) = A002322(n). 6
0, 1, 1, 2, 1, 4, 1, 6, 3, 6, 1, 10, 1, 8, 11, 12, 1, 12, 1, 16, 15, 12, 1, 22, 5, 14, 9, 22, 1, 26, 1, 24, 23, 18, 23, 30, 1, 20, 27, 36, 1, 36, 1, 34, 33, 24, 1, 44, 7, 30, 35, 40, 1, 36, 35, 50, 39, 30, 1, 56, 1, 32, 57, 48, 53, 56, 1, 52, 47, 58, 1, 66, 1, 38, 55, 58, 47, 66, 1, 76, 27, 42, 1 (list; graph; refs; listen; history; text; internal format)
OFFSET

1,4

COMMENTS

Largest m < n such that b^m == b^n (mod n) for every integer b.

LINKS

Altug Alkan, Table of n, a(n) for n = 1..10000

FORMULA

a(p) = 1 for prime p.

a(p^2) = p prime.

a(n) = A051953(n) for n in A033948.

MATHEMATICA

Table[n - CarmichaelLambda@ n, {n, 83}] (* Michael De Vlieger, Oct 01 2016 *)

PROG

(PARI) a(n) = n - lcm(znstar(n)[2]); \\ Altug Alkan, Oct 01 2016

CROSSREFS

Cf. A002322, A033948, A051953, A276976.

Sequence in context: A305812 A292403 A271773 * A118275 A243824 A146938

Adjacent sequences:  A277124 A277125 A277126 * A277128 A277129 A277130

KEYWORD

nonn

AUTHOR

Thomas Ordowski, Oct 01 2016

EXTENSIONS

More terms from Altug Alkan, Oct 01 2016

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 June 18 17:05 EDT 2019. Contains 324214 sequences. (Running on oeis4.)