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.

A008918 Numbers k such that 4*k = (k written backwards), k > 0.

Original entry on oeis.org

2178, 21978, 219978, 2199978, 21782178, 21999978, 217802178, 219999978, 2178002178, 2197821978, 2199999978, 21780002178, 21978021978, 21999999978, 217800002178, 217821782178, 219780021978, 219978219978, 219999999978, 2178000002178, 2178219782178
Offset: 1

Views

Author

Keywords

Comments

There are Fibonacci(floor((k-2)/2)) terms with k digits (this is essentially A103609). - Ray Chandler, Oct 12 2017

References

  • Alfred S. Posamentier, Math Charmers, Tantalizing Tidbits for the Mind, Prometheus Books, NY, 2003, pages 41-42.
  • D. Wells, The Penguin Dictionary of Curious and Interesting Numbers. Penguin Books, NY, 1986.

Crossrefs

Programs

  • Mathematica
    Rest@Select[FromDigits /@ Tuples[{0, 198}, 11], IntegerDigits[4*#] == Reverse@IntegerDigits[#] &] (* Arkadiusz Wesolowski, Aug 14 2012 *)
    okQ[t_]:=t==Reverse[t]&&First[t]!=0&&Min[Length/@Split[t]]>1; 198#&/@ Flatten[ Table[FromDigits/@Select[Tuples[{0,1},n],okQ],{n,20}]] (* Harvey P. Dale, Jul 03 2013 *)
  • PARI
    rev(n) = (eval(concat(Vecrev(Str(n)))));
    isok(n) = rev(n) == 4*n; \\ Michel Marcus, Sep 13 2015

Formula

Theorem (David W. Wilson): a(n) = 2*A001232(n).

Extensions

Corrected and extended by David W. Wilson Aug 15 1996, Dec 15 1997
a(20)-a(21) from Arkadiusz Wesolowski, Aug 14 2012