OFFSET
1,1
LINKS
Robert Israel, Table of n, a(n) for n = 1..10000
Antti Karttunen and J. Moyer, C-program for computing the initial terms of this sequence
MAPLE
f:= proc(n) local L, i;
L:= convert(n, base, 2);
add(abs(L[i]-L[-i]), i=1..floor(nops(L)/2))
end proc:
select(t -> f(t) = 1, [seq(ithprime(i), i=1..1000)]); # Robert Israel, Dec 04 2023
CROSSREFS
KEYWORD
nonn,base
AUTHOR
Antti Karttunen, Jun 12 2004
STATUS
approved