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”).

A045807
7-ish numbers (end in 53, 71, 79, 97).
1
53, 71, 79, 97, 153, 171, 179, 197, 253, 271, 279, 297, 353, 371, 379, 397, 453, 471, 479, 497, 553, 571, 579, 597, 653, 671, 679, 697, 753, 771, 779, 797, 853, 871, 879, 897, 953, 971, 979, 997, 1053, 1071, 1079, 1097, 1153, 1171, 1179, 1197, 1253, 1271
OFFSET
1,1
LINKS
FORMULA
Empirical G.f.: x*(53+18*x+8*x^2+18*x^3+3*x^4)/(1-x-x^4+x^5). [Colin Barker, Jan 23 2012]
PROG
(Haskell)
import Data.List (findIndices)
a045807 n = a045807_list !! (n-1)
a045807_list = findIndices (`elem` [53, 71, 79, 97]) $ cycle [0..99]
-- Reinhard Zumkeller, Jan 23 2012
CROSSREFS
KEYWORD
nonn,base,easy
AUTHOR
EXTENSIONS
More terms from Erich Friedman.
STATUS
approved