|
|
A115421
|
|
Numbers having a 1 in position 5 of their binary expansion.
|
|
6
|
|
|
32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
1,1
|
|
COMMENTS
|
|
|
LINKS
|
|
|
FORMULA
|
a(n + 32) = a(n) + 64.
O.g.f.: (31 + (1 - x^33)/(1 - x))*x/((1 - x)*(1 - x^32)). (End)
|
|
EXAMPLE
|
a(1) = 32 = 100000 in binary.
|
|
MAPLE
|
a:= n-> n+31 + 32*iquo(n-1, 32):
|
|
MATHEMATICA
|
Select[Range[256], BitAnd[#, 32] == 32 &] (* Alonso del Arte, Nov 14 2016 *)
|
|
PROG
|
(Python)
|
|
CROSSREFS
|
|
|
KEYWORD
|
nonn,base,easy
|
|
AUTHOR
|
|
|
STATUS
|
approved
|
|
|
|