cp's OEIS Frontend

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.

A129117 Numbers that appear exactly five times in A101402. (Also indices of fives in A101403.).

This page as a plain text file.
%I A129117 #5 Aug 28 2014 16:05:07
%S A129117 727,2181,3635,5089,6543,7997,9451,10905,12358,13812,15266,16720,
%T A129117 18174,19628,21082,22536,23989,25443,26897,28351,29805,31259,32713,
%U A129117 34167,35620,37074,38528,39982,41436,42890,44344,45798,47250,48704,50158
%N A129117 Numbers that appear exactly five times in A101402. (Also indices of fives in A101403.).
%C A129117 It is also interestng to look at this sequence modulo 727.
%H A129117 Reinhard Zumkeller, <a href="/A129117/b129117.txt">Table of n, a(n) for n = 1..1000</a>
%F A129117 A101403(a(n)) = 5.
%e A129117 a(1) = 727 since A101402(2045) = A101402(2046) = A101402(2047) = A101402(2048) = A101402(2049) = 727.
%e A129117 a(1) = 727 since A101403(727) = 5.
%t A129117 A101402[0] = 0; A101402[1] = 1; A101402[n_] := A101402[n] = A101402[2^(Floor[Log[2, n - 1]])] + A101402[n - 1 - 2^(Floor[Log[2, n - 1]])]; TheList = Table[A101402[i], {i, 0, 203000}]; TheList2 = Union[TheList]; A101403 = Table[Count[TheList, i], {i, 0, Last[TheList]}]; TheSeq = Delete[Union[Table[ If[TheList[[i]] == TheList[[i + 4]], TheList[[i]]], {i, 1, Length[TheList] - 4}]], -1] Count[A101403, 5] Length[TheSeq]
%o A129117 (Haskell)
%o A129117 import Data.List (elemIndices)
%o A129117 a129117 n = a129117_list !! (n-1)
%o A129117 a129117_list = elemIndices 5 a101403M_list
%o A129117 -- _Reinhard Zumkeller_, Aug 28 2014
%Y A129117 Cf. A101402, A101403.
%K A129117 easy,nonn
%O A129117 1,1
%A A129117 Keith Schneider (schneidk(AT)email.unc.edu), May 25 2007