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

A056526
First differences of Flavius Josephus's sieve.
8
2, 4, 6, 6, 8, 12, 10, 14, 16, 12, 18, 24, 14, 34, 26, 16, 30, 36, 18, 42, 38, 12, 60, 22, 48, 38, 46, 36, 60, 54, 44, 36, 84, 22, 60, 84, 18, 78, 72, 60, 38, 112, 12, 96, 114, 26, 88, 92, 34, 90, 138, 26, 82, 98, 112, 54, 170, 36, 60, 168, 52, 128, 52, 128, 94, 108, 90, 188
OFFSET
1,1
COMMENTS
Also run lengths in A100617. - Reinhard Zumkeller, Jan 14 2015
FORMULA
a(n) = A000960(n+1) - A000960(n).
EXAMPLE
Flavius's sieve starts 1,3,7,13,19,27,39,49 so first differences are 2,4,6,6,8,12,10.
PROG
(Haskell)
a056526 n = a056526_list !! (n-1)
a056526_list = zipWith (-) (tail a000960_list) a000960_list
-- Reinhard Zumkeller, Jan 14 2015
CROSSREFS
Cf. A000960 for definition, A139363 (records), A139364 (where records occur).
Sequence in context: A260812 A003972 A023853 * A049066 A151688 A159276
KEYWORD
nonn
AUTHOR
Henry Bottomley, Jun 16 2000
STATUS
approved