login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A303580
List of starts of nondecreasing runs of values of the Euler totient function phi(n) (A000010(n)).
3
1, 6, 8, 10, 12, 14, 18, 20, 22, 24, 26, 28, 30, 32, 34, 36, 38, 40, 42, 44, 46, 48, 50, 52, 54, 56, 58, 60, 62, 64, 66, 68, 70, 72, 74, 76, 78, 80, 82, 84, 86, 88, 90, 92, 94, 96, 98, 100, 102, 104, 108, 110, 112, 114, 116, 118, 120, 122, 124, 126, 128, 130, 132, 134, 136, 138, 140, 142, 144, 146, 148, 150, 152, 154
OFFSET
1,2
LINKS
PROG
(AWK) # Assume that b.txt contains a b-file for A000005
awk ' BEGIN {i = 1; print i}
{if ($2 < i) print $1; i = $2} ' b.txt >out
CROSSREFS
Cf. A000010.
A303579 gives the lengths of the successive runs.
Sequence in context: A356609 A026286 A187085 * A003663 A075396 A269135
KEYWORD
nonn
AUTHOR
N. J. A. Sloane, Apr 29 2018
STATUS
approved