Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A084622
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A084622 Numbers n such that f(n) is a strict local extremum for function f(x) = eulerphi(x) + sigma(x); i.e. either f(n) > f(n-1) and f(n) > f(n+1) or f(n) < f(n-1) and f(n) < f(n+1). +0
2
12, 13, 16, 17, 18, 19, 20, 21, 24, 25, 28, 29, 30, 31, 32, 33, 36, 37, 40, 41, 42, 43, 44, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 60, 61, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 76, 77, 78, 79, 80, 84, 85, 88, 89, 90, 91, 92, 93, 96, 97, 100, 101, 102, 103, 104, 108, 109 (list; graph; listen)
OFFSET

1,1

COMMENT

For runs of consecutive strict local extrema (alternating minima/maxima, zigzags) of f cf. A066923.

A066485 is an analogue of the present sequence for the prime gaps function.

EXAMPLE

16 is a term since f(16) is a local maximum: f(15) = 32, f(16) = 39, f(17) = 34.

PROGRAM

(PARI) f(x)=eulerphi(x)+sigma(x)

{locext(n)=local(a, b, c); a=if(n<2, 0, f(n-1)); b=f(n); c=f(n+1); if(a<b&&b>c, 1, if(a>b&&b<c, -1, 0))}

for(n=1, 110, if(locext(n)!=0, print1(n, ", ")))

CROSSREFS

Cf. A066923, A066485.

Sequence in context: A039790 A102496 A003894 this_sequence A155147 A057488 A105733

Adjacent sequences: A084619 A084620 A084621 this_sequence A084623 A084624 A084625

KEYWORD

nonn

AUTHOR

Klaus Brockhaus (klaus-brockhaus(AT)t-online.de), Jun 01 2003

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 November 29 12:46 EST 2009. Contains 167659 sequences.


AT&T Labs Research