

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
(list;
graph;
refs;
listen;
history;
text;
internal format)



OFFSET

1,1


COMMENTS

Also run lengths in A100617.  Reinhard Zumkeller, Jan 14 2015


LINKS

Klaus Brockhaus, Table of n, a(n) for n=1..10000
Index entries for sequences related to the Josephus Problem


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 !! (n1)
a056526_list = zipWith () (tail a000960_list) a000960_list
 Reinhard Zumkeller, Jan 14 2015


CROSSREFS

Cf. A000960 for definition, A139363 (records), A139364 (where records occur).
Cf. A100617, A250007.
Sequence in context: A260812 A003972 A023853 * A049066 A151688 A159276
Adjacent sequences: A056523 A056524 A056525 * A056527 A056528 A056529


KEYWORD

nonn


AUTHOR

Henry Bottomley, Jun 16 2000


STATUS

approved



