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!)
A082743 a(0)=1, a(1)=2; for n >= 2, a(n) is smallest palindrome greater than 1 which is congruent to 1 (mod n). 1

%I #10 Oct 10 2018 09:40:07

%S 1,2,3,4,5,6,7,8,9,55,11,111,121,66,99,121,33,171,55,77,101,22,111,

%T 323,121,101,131,55,141,88,121,373,33,232,171,141,181,1111,77,313,121,

%U 575,505,44,353,181,323,424,1441,99,101,868,313,10601,55,111,393,343,929,414

%N a(0)=1, a(1)=2; for n >= 2, a(n) is smallest palindrome greater than 1 which is congruent to 1 (mod n).

%F a(n) = A077528(n) for n >= 2. - _Georg Fischer_, Oct 06 2018

%t f[n_] := Block[{k = 2}, While[ FromDigits[ Reverse[ IntegerDigits[k]]] != k || Mod[k, n] != 1, k++ ]; k]; Table[ f[n], {n, 2, 60}]

%Y Cf. A082744, A062388, A077528.

%K base,nonn

%O 0,2

%A _Amarnath Murthy_, Apr 15 2003

%E Edited and extended by _Robert G. Wilson v_, Apr 19 2003

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 19 16:38 EDT 2024. Contains 371794 sequences. (Running on oeis4.)