login

Reminder: The OEIS is hiring a new managing editor, and the application deadline is January 26.

A083533
First difference sequence of A002202. Difference between consecutive possible values for phi.
11
1, 2, 2, 2, 2, 2, 4, 2, 2, 2, 2, 4, 2, 2, 4, 4, 2, 2, 2, 2, 4, 2, 2, 2, 2, 4, 2, 4, 2, 6, 2, 2, 2, 4, 4, 4, 4, 2, 2, 2, 2, 2, 2, 4, 4, 6, 2, 2, 2, 4, 2, 2, 4, 4, 2, 6, 4, 2, 2, 2, 2, 4, 4, 2, 2, 4, 6, 2, 4, 2, 2, 4, 4, 2, 2, 4, 4, 2, 2, 2, 2, 4, 6, 2, 10, 2, 4, 4, 2, 2, 4, 2, 2, 4, 4, 2, 6, 4, 2, 2, 4, 6, 4, 2, 4
OFFSET
1,2
LINKS
FORMULA
a(n) = A002202(n+1) - A002202(n).
MATHEMATICA
t=Table[EulerPhi[w], {w, 1, 25000}]; u=Union[%]; Delete[u-RotateRight[u], 1]
PROG
(Haskell)
a083533 n = a083533_list !! (n-1)
a083533_list = zipWith (-) (tail a002202_list) a002202_list
-- Reinhard Zumkeller, Nov 26 2015
(PARI) lista(lim) = {my(k1 = 1, k2 = 1); while(k1 < lim, until(istotient(k2), k2++); print1(k2 - k1, ", "); k1 = k2); } \\ Amiram Eldar, Nov 16 2024
KEYWORD
nonn
AUTHOR
Labos Elemer, May 20 2003
STATUS
approved