This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.
%I A099585 #2 Apr 30 2014 01:27:40 %S A099585 1,2,4,2,10,4,16,2,22,28,10,4,40,14,46,52,58,20,22,70,8,26,82,88,32, %T A099585 100,34,106,4,112,14,130,136,46,148,50,52,2,166,172,178,20,190,64,196, %U A099585 22,70,74,226,76,232,238,80,250,256,262,268,10,92,280,94,292,34,310 %N A099585 Remove all 3s from prime(n) - 1. %o A099585 (PARI) a(n) = (prime(n)-1)/3^valuation(prime(n)-1,3) %Y A099585 Equals A038502( A006093(n) ). prime(n)-1 = a(n) * 3^A099584(n). %Y A099585 Cf. A057023. %K A099585 nonn %O A099585 1,2 %A A099585 _Ralf Stephan_, Oct 24 2004