|
Search: id:A065385
|
|
|
| A065385 |
|
Numbers at which value of cototient function[A051953] reaches a new record: cototient[a(n)] > cototient[a(k)] for all a(k)<a(n). |
|
+0 3
|
|
| 1, 2, 4, 6, 10, 12, 18, 24, 30, 36, 42, 48, 54, 60, 66, 72, 78, 84, 90, 102, 108, 114, 120, 126, 132, 138, 144, 150, 168, 180, 198, 204, 210, 240, 252, 264, 270, 294, 300, 330, 360, 378, 390, 420, 450, 462, 480, 504, 510, 540, 546, 570, 600, 630, 660, 690, 714
(list; graph; listen)
|
|
|
OFFSET
|
1,2
|
|
|
COMMENT
|
For totient values prime numbers give similar records.
|
|
FORMULA
|
a=0; s=0; Do[s=n-EulerPhi[n]; If[s>a, a=s; Print[n]], {n, 1, 10000}]
|
|
EXAMPLE
|
a(8) = 30 because for m = 1...29 the cototient values are all smaller than cototient(30) = 22 = A065386(8) and this is the 8th number at which such a record is reached; analogous sequences are A002093, A002182, A015702 or A005250 for functions other than cototient.
|
|
PROGRAM
|
(PARI) r=-1; for(n=1, 1000, d=n-eulerphi(n); if(r<d, r=d; print1(n, ", ")))
|
|
CROSSREFS
|
Cf. A051953, A065386.
Adjacent sequences: A065382 A065383 A065384 this_sequence A065386 A065387 A065388
Sequence in context: A002491 A045958 A076067 this_sequence A055235 A083887 A064374
|
|
KEYWORD
|
nonn
|
|
AUTHOR
|
Labos E. (labos(AT)ana.sote.hu), Nov 05 2001
|
|
|
Search completed in 0.002 seconds
|