login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A318536 Integers a(n) such that [a(n) + k] is a palindrome in base 10, with k < 10. 2
1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 90, 91 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,2
LINKS
EXAMPLE
12 is not in the sequence because 22 (the closest palindromic integer > 12) is not reachable by adding an integer < 10 to 12. The integers 23, 34 or 2018 are not in the sequence for the same reason.
PROG
(PARI) is(n) = for(k=0, 9, my(d=digits(n+k)); if(d==Vecrev(d), return(1))); 0 \\ Felix Fröhlich, Sep 06 2018
CROSSREFS
Cf. A318535 for an equivalent sequence [subtraction of (k < 10) instead of addition].
Sequence in context: A031996 A023753 A035332 * A048991 A321292 A131881
KEYWORD
base,nonn
AUTHOR
STATUS
approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified April 17 22:23 EDT 2024. Contains 371767 sequences. (Running on oeis4.)