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”).

A083534
First difference sequence of A007617. Difference between consecutive values not being in the range of phi[A000010].
6
2, 2, 2, 2, 2, 1, 1, 2, 2, 2, 2, 2, 1, 1, 2, 2, 2, 1, 1, 2, 1, 1, 2, 2, 2, 2, 2, 1, 1, 2, 2, 2, 2, 2, 1, 1, 2, 2, 1, 1, 2, 2, 1, 1, 1, 1, 2, 2, 2, 2, 1, 1, 2, 1, 1, 2, 1, 1, 2, 1, 1, 2, 2, 2, 2, 2, 2, 2, 1, 1, 2, 1, 1, 2, 1, 1, 1, 1, 2, 2, 2, 2, 1, 1, 2, 2, 2, 1, 1, 2, 1, 1, 2, 2, 1, 1, 1, 1, 2, 1, 1, 2, 2, 2, 2
OFFSET
1,1
LINKS
FORMULA
a(n)=A007617[n+1]-A007617[n]
EXAMPLE
a(n) is either 2 or 1 since odd numbers are in A007619;
if a(n)=1 then A007619[n+1] is an even number not in
range of phi; n={11,13,14,15,17} are not in the range of
phi and the corresponding differences are {2,1,1,2}.
MATHEMATICA
t0[x_] := Table[j, {j, 1, x}] t=Table[EulerPhi[w], {w, 1, 10000}]; u=Union[%]; c=Complement[t0[10000], u]; Delete[c-RotateRight[c], 1]
PROG
(Haskell)
a083534 n = a083534_list !! (n-1)
a083534_list = zipWith (-) (tail a007617_list) a007617_list
-- Reinhard Zumkeller, Nov 26 2015
KEYWORD
nonn
AUTHOR
Labos Elemer, May 20 2003
STATUS
approved