OFFSET
1,1
EXAMPLE
13 belongs to the list as its binary representation is 1101, in which the first group of 1 consists of 2 repetitions, the first group of 0 consists of only one item and the second group of 1 consists still of only one item; 73 belongs to the list as its binary representation is 1001001, in which 1 is never repeated and 0 is repeated two times.
MAPLE
isA228445 := proc(n)
isprime(n) and isA063037(n) ;
end proc:
for n from 1 to 2000 do
if isA228445(n) then
printf("%d, ", n) ;
end if;
end do: # R. J. Mathar, Dec 18 2013
MATHEMATICA
Select[Prime[Range[300]], Max[Length/@Split[IntegerDigits[#, 2]]]<3&] (* Harvey P. Dale, May 24 2015 *)
CROSSREFS
KEYWORD
nonn,base
AUTHOR
Pierandrea Formusa, Nov 06 2013
STATUS
approved