Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A065385
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
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

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 October 13 09:05 EDT 2008. Contains 145008 sequences.


AT&T Labs Research