OFFSET
1,1
EXAMPLE
a(5)=3 since A077722(5)=32833, which has an octal form of 100101, which has 3 ones.
MAPLE
s := 0:for n from 1 to 7000 do b := convert(n, base, 2):q := sum(b[i]*8^(i-1), i=1..nops(b)): if(isprime(q)) then s := s+1:a[s] := sum(b[i], i=1..nops(b)):fi:od:seq(a[k], k=1..s);
CROSSREFS
KEYWORD
nonn
AUTHOR
Francois Jooste (phukraut(AT)hotmail.com), Dec 23 2002
EXTENSIONS
More terms from Sascha Kurz, Feb 10 2003
STATUS
approved