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!)
A052148 Integers n < (reversal of n) such that (reversal of n) + 1 is divisible by n-1. 2
12, 102, 1002, 1079, 10002, 17525, 100002, 1000002, 3124739, 10000002, 100000002, 175247525, 1000000002, 1078012079, 1087921979 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
LINKS
EXAMPLE
For n = 12, the reversal of n is 21, 12-1 = 11, 21+1 = 22 and 11 divides 22.
PROG
(PARI) isok(n) = {d = digits(n); revn = sum(i = 1, #d, d[i]*10^(i - 1)); (revn > n) && (n!=1) && ((revn + 1) % (n - 1) == 0); } \\ Michel Marcus, Aug 22 2013
CROSSREFS
Cf. A004086.
Sequence in context: A356836 A240462 A126533 * A133384 A052067 A307821
KEYWORD
nonn,base
AUTHOR
Mary L. Sellers (sellersm(AT)cedarville.edu), Jan 22 2000
EXTENSIONS
a(8)-a(11) from Naohiro Nomoto, Jun 24 2001
a(12)-a(15) from Sean A. Irvine, Oct 26 2021
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 24 16:49 EDT 2024. Contains 371962 sequences. (Running on oeis4.)