• Remix
  • Share
  • New Entry

on 5 Oct 2021
  • 4
  • 20
  • 0
  • 0
  • 145
% As per Numberphile's video Amazing Graphs II, feat. Neil Sloane, creator of
% the OEIS.
p = zeros(1,40000);
for i=1:40000
f = strrep(split(dec2base(i,3),''),'2','-1');
f = str2double(f(end-1:-1:2));
p(i) = 3.^(0:length(f)-1)*f;
end
plot(p,'.');
Image
Remix Tree