login
A083812
Numbers k such that 4*k-1 is the digit reversal of k-1.
4
18, 198, 1998, 19998, 178218, 199998, 1780218, 1999998, 17800218, 19782198, 19999998, 178000218, 197802198, 199999998, 1780000218, 1782178218, 1978002198, 1997821998, 1999999998, 17800000218, 17821978218, 19780002198, 19978021998, 19999999998, 178000000218, 178021780218, 178219978218
OFFSET
1,1
COMMENTS
Each term has the first digit 1 and the last digit 8. - Stefano Spezia, Sep 18 2025
EXAMPLE
18 - 1 = 17 and 4*18 - 1 = 71 = A004086(17);
198 - 1 = 197 and 4*198 - 1 = 791 = A004086(197);
178218 - 1 = 178217 and 4*178218 - 1 = 712871 = A004086(178217).
MATHEMATICA
Select[Range[10^6], IntegerReverse[#-1]==4#-1 &] (* Stefano Spezia, Sep 18 2025 *)
PROG
(PARI) isok(k) = Vecrev(digits(4*k-1)) == digits(k-1); \\ Michel Marcus, Sep 23 2025
CROSSREFS
Except the 1st term 0, A086573 is a subsequence.
Sequence in context: A060532 A073397 A020920 * A086573 A097515 A177358
KEYWORD
nonn,base
AUTHOR
Amarnath Murthy and Meenakshi Srikanth (menakan_s(AT)yahoo.com), May 08 2003
EXTENSIONS
Corrected by Stefano Spezia, Sep 18 2025 at the suggestion of David Radcliffe
STATUS
approved