login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A031295
Position of n-th 8 in A007376.
12
8, 27, 47, 67, 87, 107, 127, 147, 150, 152, 154, 156, 158, 160, 162, 164, 166, 167, 168, 187, 216, 246, 276, 306, 336, 366, 396, 426, 431, 434, 437, 440, 443, 446, 449, 452, 455, 456, 458, 486, 516, 546, 576, 606, 636, 666, 696
OFFSET
1,1
COMMENTS
A007376(a(n)) = 8.
LINKS
PROG
(Haskell)
import Data.List (elemIndices)
a031295 n = a031295_list !! (n-1)
a031295_list = map (+ 1) $ elemIndices 8 a007376_list
-- Reinhard Zumkeller, Jul 28 2011
KEYWORD
nonn,less,base
STATUS
approved