|
|
A161182
|
|
Successive differences between positions of squares in list of nonprimes.
|
|
2
|
|
|
1, 1, 3, 5, 6, 9, 9, 12, 13, 16, 16, 19, 20, 22, 25, 25, 26, 30, 31, 33, 34, 36, 38, 41, 40, 43, 46, 47, 48, 51, 53, 53, 56, 57, 60, 61, 64, 66, 65, 68, 69, 72, 76, 75, 78, 78, 83, 82, 82, 89, 90, 88, 89, 95, 96, 100, 101, 98, 104, 103, 105, 110, 108, 112, 115, 115, 118, 120
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
1,3
|
|
LINKS
|
|
|
FORMULA
|
|
|
MAPLE
|
|
|
MATHEMATICA
|
With[{nn=5000}, Differences[Flatten[Position[Complement[Range[0, nn], Prime[ Range[ PrimePi[nn]]]], _?(IntegerQ[Sqrt[#]]&)]]]] (* Harvey P. Dale, Mar 03 2014 *)
|
|
CROSSREFS
|
Cf. A078435, sequence of positions of squares in sequence of nonprimes.
|
|
KEYWORD
|
nonn
|
|
AUTHOR
|
|
|
EXTENSIONS
|
|
|
STATUS
|
approved
|
|
|
|