0

I am obtaining a very unexpected result and I would really like to not get this result:

vector = {1, 1, 1, 1/2, 1/2, 1/4, 1/4, 1/96 (11 + Sqrt[97]), 1/6, 1/6,
    1/8, 1/8, 1/10, 1/12, 1/12, 1/20, 1/20, 1/36, 1/36, 1/36, 1/36, 1/36,
    1/40, 1/80, 1/80, 1/96 (11 - Sqrt[97]), 1/96, 1/144, 1/144, 1/576, 1/576};

Position[vector, 1/2]

(*  Out[1224]= {{4}, {5}, {8, 2, 2, 2}, {26, 2, 2, 2, 2}}  *)

I am expecting the result to be {{4}, {5}}, I am very unsure where these extra values are coming from!

Michael E2
  • 235,386
  • 17
  • 334
  • 747
wilsnunn
  • 888
  • 5
  • 15

0 Answers0