jnthn
Reputation
Top tag
Next privilege 50 Rep.
Comment everywhere
 Mar5 comment Why this difference of 25? The sequence, so far, is (2, 8, 22, 166, 788, 4962, 29922, 179682, 688078, 7060198) -- they are not all of the form 6p. They are just record setters. E.g. the third term = 22 because 22 mod 11+2 = 9 -> 9 mod 3+3 = 3 -> 3 mod 3 = 0, and 22 is the smallest number with a depth of 3. That said, it may still not be an interesting sequence. :) Mar4 comment Why this difference of 25? Thank you. If you care to, you could create an OEIS account and add your explanation to the "Comments" section of the draft edit of A238530. If not, I will do so. Mar4 accepted Why this difference of 25? Mar4 revised Why this difference of 25? edited body Mar4 comment Why this difference of 25? @Ross: Sorry. I forgot the sequences weren't published yet. They should be soon. Mar4 asked Why this difference of 25? Jun2 revised How to avoid base-$8$ numbers that contain zeros? deleted 69 characters in body Jun2 accepted How to avoid base-$8$ numbers that contain zeros? Jun2 comment How to avoid base-$8$ numbers that contain zeros? Nevermind. I still had k=1 when I tried 1033. Works perfectly. Jun2 comment How to avoid base-$8$ numbers that contain zeros? Thank you, Robert: f[x_, k_] := Floor[x/7^k]*8^k + Sum[(Mod[Floor[x/7^m], 7] + 1)*8^m, {m, 0, k - 1}]; For[lst = {}; i = 0, i < 100, i++, AppendTo[lst, {f[i, 1], BaseForm[f[i, 1], 8]}]; ]; lst EDIT: did I get that right? I get 1033 -> 2011 Jun2 revised How to avoid base-$8$ numbers that contain zeros? deleted 1 characters in body Jun2 revised How to avoid base-$8$ numbers that contain zeros? added 131 characters in body Jun2 comment How to avoid base-$8$ numbers that contain zeros? Sorry. I thought "produce numbers" was clear. I'll edit. P.S. I up-voted your answer. Jun2 comment How to avoid base-$8$ numbers that contain zeros? Yes, the leading zero is allowed, but nowhere else. I'm hoping for an answer like f(k,a,b) -> all such non-zero base-8 numbers in range a to b of length k, but maybe that isn't possible. Jun2 asked How to avoid base-$8$ numbers that contain zeros? May26 awarded Tumbleweed May16 comment How can I draw a polygon from a set of angles? yes, the legs are length 1 and the hypotenuse is $\sqrt 2$. I'm not familiar with lattice points. I though using vectors might be another way -- if the angle is congruent to 0 mod 30, draw a vector of length 1, else draw a vector of length $\sqrt 2$. May16 comment How can I draw a polygon from a set of angles? Sorry. Too many tabs open, I thought I was posting to mathematica. Should I delete, or is this still an interesting math question? May16 revised How can I draw a polygon from a set of angles? deleted 12 characters in body May16 revised How can I draw a polygon from a set of angles? added 3 characters in body