|
|
A145011
|
|
First differences of A007775.
|
|
4
|
|
|
6, 4, 2, 4, 2, 4, 6, 2, 6, 4, 2, 4, 2, 4, 6, 2, 6, 4, 2, 4, 2, 4, 6, 2, 6, 4, 2, 4, 2, 4, 6, 2, 6, 4, 2, 4, 2, 4, 6, 2, 6, 4, 2, 4, 2, 4, 6, 2, 6, 4, 2, 4, 2, 4, 6, 2, 6, 4, 2, 4, 2, 4, 6, 2, 6, 4, 2, 4, 2, 4, 6, 2, 6, 4, 2, 4, 2, 4, 6, 2, 6, 4, 2, 4, 2, 4, 6, 2, 6, 4, 2, 4, 2, 4, 6, 2
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
1,1
|
|
COMMENTS
|
|
|
LINKS
|
|
|
FORMULA
|
Period 8: repeat 6,4,2,4,2,4,6,2.
G.f.: x*(-2*x^7 - 6*x^6 - 4*x^5 - 2*x^4 - 4*x^3 - 2*x^2 - 4*x - 6)/(x^8 - 1). - Chai Wah Wu, Feb 16 2021
|
|
MATHEMATICA
|
Differences[Select[Range[400], GCD[#, 30]==1&]] (* Harvey P. Dale, Dec 07 2011 *)
|
|
PROG
|
(Haskell)
a145011 n = a145011_list !! (n-1)
a145011_list = zipWith (-) (tail a007775_list) a007775_list
|
|
CROSSREFS
|
|
|
KEYWORD
|
nonn,easy,changed
|
|
AUTHOR
|
|
|
EXTENSIONS
|
|
|
STATUS
|
approved
|
|
|
|