|
|
A330160
|
|
Positions of 2 in A309059.
|
|
0
|
|
|
3, 7, 10, 15, 22, 45, 227, 700, 5170, 11147, 11869
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
1,1
|
|
LINKS
|
|
|
FORMULA
|
|
|
EXAMPLE
|
a(3)=10 is in the sequence because A309059(10)=2.
|
|
MAPLE
|
x:= 1: Res:= NULL:
for i from 2 to 10000 do
if isprime(x) then Res:= Res, i; x:= 10*x+2;
else x:= 10*x+1
fi
od:
Res;
|
|
CROSSREFS
|
|
|
KEYWORD
|
nonn,more
|
|
AUTHOR
|
|
|
EXTENSIONS
|
|
|
STATUS
|
approved
|
|
|
|