|
|
A231927
|
|
Terms of A231926 written in base 10: the binary expansions of a(n) and a(n+1) taken together can be rearranged to form a palindrome.
|
|
7
|
|
|
0, 7, 1, 6, 36, 8, 2, 12, 37, 14, 3, 9, 19, 39, 18, 42, 21, 4, 10, 25, 40, 24, 46, 16, 26, 44, 13, 38, 48, 73, 78, 216, 41, 11, 5, 17, 32, 47, 23, 33, 45, 15, 20, 49, 28, 35, 43, 31, 50, 57, 64, 71, 80, 85, 117, 127, 154, 169, 191, 211, 217, 55, 22, 27, 58, 63, 118, 133
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
0,2
|
|
COMMENTS
|
See A231926 for precise definition.
This is a permutation of the nonnegative integers - see the Comments in A228407 for the proof.
|
|
LINKS
|
|
|
MATHEMATICA
|
a[0] = 0; a[n_] := a[n] = Block[{k = 1, idm = IntegerDigits[ a[n - 1], 6], t = a@# & /@ Range[n - 1]}, Label[ start]; While[ MemberQ[t, k], k++]; While[ Select[ Permutations[ Join[ idm, IntegerDigits[k, 6]]], #[[1]] != 0 && # == Reverse@# &] == {}, k++; Goto[ start]]; k]; s = Array[a, 60, 0]
|
|
CROSSREFS
|
|
|
KEYWORD
|
nonn,base,easy
|
|
AUTHOR
|
|
|
STATUS
|
approved
|
|
|
|