OFFSET
0,3
EXAMPLE
Pi=3,141592653589793...
0 in this sequence because 3 is odd.
1 in this sequence because 1 is odd.
2 is not in this sequence because second digit after comma 4 is not even.
MATHEMATICA
s = First[RealDigits[N[Pi, 1000]]]; aa = {}; Do[If[OddQ[s[[n]]], AppendTo[aa, n - 1]], {n, 1, Length[s]}]; aa (*Artur Jasinski*)
Flatten[Position[RealDigits[\[Pi], 10, 150][[1]], _?OddQ]-1] (* Harvey P. Dale, Apr 19 2011 *)
CROSSREFS
KEYWORD
nonn,base
AUTHOR
Artur Jasinski, Mar 05 2010
EXTENSIONS
Edited by Charles R Greathouse IV, Aug 02 2010
Definition clarified by Harvey P. Dale, Apr 01 2019
STATUS
approved